Module Name:    src
Committed By:   riastradh
Date:           Fri Mar 31 06:05:51 UTC 2023

Modified Files:
        src/crypto/external/bsd/openssl/dist/crypto/rand: rand_unix.c

Log Message:
openssl: Omit local comment.

May be helpful explanation but it didn't make its way upstream,
whereas the file has moved and had other upstream changes, so let's
make the next merge less painful.

No functional change intended.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 \
    src/crypto/external/bsd/openssl/dist/crypto/rand/rand_unix.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/crypto/external/bsd/openssl/dist/crypto/rand/rand_unix.c
diff -u src/crypto/external/bsd/openssl/dist/crypto/rand/rand_unix.c:1.18 src/crypto/external/bsd/openssl/dist/crypto/rand/rand_unix.c:1.19
--- src/crypto/external/bsd/openssl/dist/crypto/rand/rand_unix.c:1.18	Fri Jan  7 15:50:11 2022
+++ src/crypto/external/bsd/openssl/dist/crypto/rand/rand_unix.c	Fri Mar 31 06:05:51 2023
@@ -270,7 +270,6 @@ static ssize_t sysctl_random(char *buf, 
     mib[1] = KERN_ARND;
 
     do {
-        /* On NetBSD, KERN_ARND fails if more than 256 bytes are requested */
         len = buflen > 256 ? 256 : buflen;
         if (sysctl(mib, 2, buf, &len, NULL, 0) == -1)
             return done > 0 ? done : -1;

Reply via email to