projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76624df
)
Switch to BIO_snprintf to avoid missing symbol problems on Windows
author
Jon Spillett
<jon.spillett@oracle.com>
Thu, 4 Feb 2021 05:13:18 +0000
(15:13 +1000)
committer
Shane Lontis
<shane.lontis@oracle.com>
Fri, 5 Feb 2021 08:03:40 +0000
(18:03 +1000)
Reviewed-by: Ben Kaduk <kaduk@mit.edu>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/14063)
apps/lib/opt.c
patch
|
blob
|
history
diff --git
a/apps/lib/opt.c
b/apps/lib/opt.c
index 99499193e4d0ea188a04032a4ec079f7f51b4dd6..8cc520daec86aaffc0885aa9cd732ff1e9f0ff74 100644
(file)
--- 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;
}