Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/openssl/dist/crypto/rand openssl: Omit l...



details:   https://anonhg.NetBSD.org/src/rev/09609e06a0db
branches:  trunk
changeset: 374087:09609e06a0db
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Fri Mar 31 06:05:51 2023 +0000

description:
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.

diffstat:

 crypto/external/bsd/openssl/dist/crypto/rand/rand_unix.c |  1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diffs (11 lines):

diff -r 59b4390b2542 -r 09609e06a0db crypto/external/bsd/openssl/dist/crypto/rand/rand_unix.c
--- a/crypto/external/bsd/openssl/dist/crypto/rand/rand_unix.c  Fri Mar 31 04:51:32 2023 +0000
+++ b/crypto/external/bsd/openssl/dist/crypto/rand/rand_unix.c  Fri Mar 31 06:05:51 2023 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index