# HG changeset patch # User Matt Johnston # Date 1104165524 0 # Node ID 4bd4fc8023bd52ed18b6c7d5f90ab69befa2e374 # Parent 364a75cfebab78c48f1ab26a784a74c73762de61 random.c: fix missed instance of DROPBEAR_EGD_SOCKET diff -r 364a75cfebab -r 4bd4fc8023bd random.c --- 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);