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/apps add a little const to ...



details:   https://anonhg.NetBSD.org/src/rev/cac374840363
branches:  trunk
changeset: 376002:cac374840363
user:      christos <christos%NetBSD.org@localhost>
date:      Thu May 25 17:20:14 2023 +0000

description:
add a little const to help clang

diffstat:

 crypto/external/bsd/openssl/dist/apps/include/apps.h |  2 +-
 crypto/external/bsd/openssl/dist/apps/lib/apps.c     |  2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r a11fb6181abd -r cac374840363 crypto/external/bsd/openssl/dist/apps/include/apps.h
--- a/crypto/external/bsd/openssl/dist/apps/include/apps.h      Thu May 25 16:05:27 2023 +0000
+++ b/crypto/external/bsd/openssl/dist/apps/include/apps.h      Thu May 25 17:20:14 2023 +0000
@@ -218,7 +218,7 @@ typedef struct ca_db_st {
 # endif
 } CA_DB;
 
-void app_bail_out(char *fmt, ...);
+void app_bail_out(const char *fmt, ...);
 void *app_malloc(size_t sz, const char *what);
 
 /* load_serial, save_serial, and rotate_serial are also used for CRL numbers */
diff -r a11fb6181abd -r cac374840363 crypto/external/bsd/openssl/dist/apps/lib/apps.c
--- a/crypto/external/bsd/openssl/dist/apps/lib/apps.c  Thu May 25 16:05:27 2023 +0000
+++ b/crypto/external/bsd/openssl/dist/apps/lib/apps.c  Thu May 25 17:20:14 2023 +0000
@@ -614,7 +614,7 @@ EVP_PKEY *load_keyparams(const char *uri
     return load_keyparams_suppress(uri, format, maybe_stdin, keytype, desc, 0);
 }
 
-void app_bail_out(char *fmt, ...)
+void app_bail_out(const char *fmt, ...)
 {
     va_list args;
 



Home | Main Index | Thread Index | Old Index