diff options
author | FdaSilvaYY <fdasilvayy@gmail.com> | 2023-01-16 23:49:01 +0100 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2023-01-24 11:03:19 +0000 |
commit | 4a6e5a11c72a4f3ec082cc065b44906409ad8fae (patch) | |
tree | f83dc58ef5c583409870a9daf1b258a7845d36f2 /apps/cmp.c | |
parent | e787c57c538d0922004e49a10be0d403af773272 (diff) | |
download | openssl-new-4a6e5a11c72a4f3ec082cc065b44906409ad8fae.tar.gz |
Fix windows builds
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20109)
Diffstat (limited to 'apps/cmp.c')
-rw-r--r-- | apps/cmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/cmp.c b/apps/cmp.c index e44d32fd7f..f72a77e3a3 100644 --- a/apps/cmp.c +++ b/apps/cmp.c @@ -2048,7 +2048,7 @@ static int save_cert_or_delete(X509 *cert, const char *file, const char *desc) if (cert == NULL) { char desc_cert[80]; - snprintf(desc_cert, sizeof(desc_cert), "%s certificate", desc); + BIO_snprintf(desc_cert, sizeof(desc_cert), "%s certificate", desc); return delete_file(file, desc_cert); } else { STACK_OF(X509) *certs = sk_X509_new_null(); |