Replace snprintf with BIO_snprintf
Updated snprintf to BIO_snprintf for consistency with previous changes. #24008
CLA: trivial
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26749)
(cherry picked from commit aa6b7ac875
)
This commit is contained in:
parent
7e3308062f
commit
b2c88ffda2
1 changed files with 1 additions and 1 deletions
|
@ -222,7 +222,7 @@ BIO *http_server_init_bio(const char *prog, const char *port)
|
|||
int asock;
|
||||
char name[40];
|
||||
|
||||
snprintf(name, sizeof(name), "[::]:%s", port); /* port may be "0" */
|
||||
BIO_snprintf(name, sizeof(name), "[::]:%s", port); /* port may be "0" */
|
||||
bufbio = BIO_new(BIO_f_buffer());
|
||||
if (bufbio == NULL)
|
||||
goto err;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue