Skip to content

Commit

Permalink
Switch to BIO_snprintf to avoid missing symbol problems on Windows
Browse files Browse the repository at this point in the history
Reviewed-by: Ben Kaduk <kaduk@mit.edu>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from #14063)
  • Loading branch information
jon-oracle authored and slontis committed Feb 5, 2021
1 parent 76624df commit 05f4185
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/lib/opt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 05f4185

Please sign in to comment.