diff options
author | Jon Spillett <jon.spillett@oracle.com> | 2021-02-04 15:13:18 +1000 |
---|---|---|
committer | Shane Lontis <shane.lontis@oracle.com> | 2021-02-05 18:03:40 +1000 |
commit | 05f41859ddfff9b19f6599e545607f3d49630ce0 (patch) | |
tree | 141077c499f56051e714eb5c73b4bcef7b37285f /apps | |
parent | 76624df15fef0725f28a8b9d0f31256946669b1a (diff) | |
download | openssl-05f41859ddfff9b19f6599e545607f3d49630ce0.tar.gz |
Switch to BIO_snprintf to avoid missing symbol problems on Windows
Reviewed-by: Ben Kaduk <kaduk@mit.edu>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/14063)
Diffstat (limited to 'apps')
-rw-r--r-- | apps/lib/opt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/lib/opt.c b/apps/lib/opt.c index 99499193e4..8cc520daec 100644 --- a/apps/lib/opt.c +++ b/apps/lib/opt.c @@ -143,7 +143,7 @@ char *opt_appname(const char *arg0) size_t len = strlen(prog); if (arg0 != NULL) - snprintf(prog + len, sizeof(prog) - len - 1, " %s", arg0); + BIO_snprintf(prog + len, sizeof(prog) - len - 1, " %s", arg0); return prog; } |