summaryrefslogtreecommitdiffhomepage
path: root/random.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2004-12-27 16:38:44 +0000
committerMatt Johnston <matt@ucc.asn.au>2004-12-27 16:38:44 +0000
commit6d752982848c1dba3c776ec8365c7811322cbd73 (patch)
tree65005588a049e6a05b37551878e7059faff2680d /random.c
parent9d4318370418b66796d370cb1fa05d49c28920b0 (diff)
random.c: fix missed instance of DROPBEAR_EGD_SOCKET
--HG-- extra : convert_revision : 0be7aaee2230fa65f252b2e74deee7102558ceb6
Diffstat (limited to 'random.c')
-rw-r--r--random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/random.c b/random.c
index e1c586e..c69f641 100644
--- a/random.c
+++ b/random.c
@@ -68,7 +68,7 @@ static void readrand(unsigned char* buf, unsigned int buflen) {
#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);