summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorFdaSilvaYY <fdasilvayy@gmail.com>2023-01-16 23:49:01 +0100
committerHugo Landau <hlandau@openssl.org>2023-01-24 11:03:19 +0000
commit4a6e5a11c72a4f3ec082cc065b44906409ad8fae (patch)
treef83dc58ef5c583409870a9daf1b258a7845d36f2 /test
parente787c57c538d0922004e49a10be0d403af773272 (diff)
downloadopenssl-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 'test')
-rw-r--r--test/hpke_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/hpke_test.c b/test/hpke_test.c
index fc2f80857f..b2d2e51dc4 100644
--- a/test/hpke_test.c
+++ b/test/hpke_test.c
@@ -1204,8 +1204,8 @@ static int test_hpke_suite_strs(void)
for (kemind = 0; kemind != OSSL_NELEM(kem_str_list); kemind++) {
for (kdfind = 0; kdfind != OSSL_NELEM(kdf_str_list); kdfind++) {
for (aeadind = 0; aeadind != OSSL_NELEM(aead_str_list); aeadind++) {
- snprintf(sstr, 128, "%s,%s,%s", kem_str_list[kemind],
- kdf_str_list[kdfind], aead_str_list[aeadind]);
+ BIO_snprintf(sstr, 128, "%s,%s,%s", kem_str_list[kemind],
+ kdf_str_list[kdfind], aead_str_list[aeadind]);
if (TEST_true(OSSL_HPKE_str2suite(sstr, &stirred)) != 1) {
if (verbose)
TEST_note("Unexpected str2suite fail for :%s",