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/bio openssl: Omit ne...
details: https://anonhg.NetBSD.org/src/rev/45beb443e3f5
branches: trunk
changeset: 374057:45beb443e3f5
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Mar 29 10:25:11 2023 +0000
description:
openssl: Omit needless sprintf->snprintf under OPENSSL_SYS_WIN32.
Much as I'm happy to eliminate sprintf, there's very little value to
maintaining a local change under an #ifdef that will never, ever be
taken on NetBSD.
Verified libcrypto.so does not sprout any references to sprintf as a
result.
diffstat:
crypto/external/bsd/openssl/dist/crypto/bio/bss_log.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 80af8fb409ed -r 45beb443e3f5 crypto/external/bsd/openssl/dist/crypto/bio/bss_log.c
--- a/crypto/external/bsd/openssl/dist/crypto/bio/bss_log.c Wed Mar 29 10:21:27 2023 +0000
+++ b/crypto/external/bsd/openssl/dist/crypto/bio/bss_log.c Wed Mar 29 10:25:11 2023 +0000
@@ -280,7 +280,7 @@ static void xsyslog(BIO *bp, int priorit
break;
}
- snprintf(pidbuf, sizeof(pidbuf), "[%u] ", GetCurrentProcessId());
+ sprintf(pidbuf, "[%u] ", GetCurrentProcessId());
lpszStrings[0] = pidbuf;
lpszStrings[1] = string;
Home |
Main Index |
Thread Index |
Old Index