diff options
author | Matt Johnston <matt@ucc.asn.au> | 2004-12-27 16:38:44 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2004-12-27 16:38:44 +0000 |
commit | c80c9ecc46607a18ce90fba41672ef9ba616facc (patch) | |
tree | 65005588a049e6a05b37551878e7059faff2680d | |
parent | 57d800d314006b78699282260f3ab3b839b43e08 (diff) | |
download | dropbear-c80c9ecc46607a18ce90fba41672ef9ba616facc.tar.gz |
random.c: fix missed instance of DROPBEAR_EGD_SOCKET
-rw-r--r-- | random.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |