Mercurial > dropbear
diff random.c @ 159:4bd4fc8023bd
random.c: fix missed instance of DROPBEAR_EGD_SOCKET
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 27 Dec 2004 16:38:44 +0000 |
parents | ed9ca2a9705c |
children | 5ccad7634388 c9483550701b |
line wrap: on
line diff
--- a/random.c Thu Dec 23 17:00:15 2004 +0000 +++ b/random.c Mon Dec 27 16:38:44 2004 +0000 @@ -68,7 +68,7 @@ #ifdef DROPBEAR_PRNGD_SOCKET memset((void*)&egdsock, 0x0, sizeof(egdsock)); egdsock.sun_family = AF_UNIX; - strlcpy(egdsock.sun_path, DROPBEAR_EGD_SOCKET, + strlcpy(egdsock.sun_path, DROPBEAR_PRNGD_SOCKET, sizeof(egdsock.sun_path)); readfd = socket(PF_UNIX, SOCK_STREAM, 0);