Commit f4b4574f authored by Shane Lontis's avatar Shane Lontis
Browse files

replaced snprintf with BIO version (for windows builds)

parent 9c0cf214
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@ static int test_provider(OSSL_PROVIDER *prov)
    if (!TEST_ptr(name = ossl_provider_name(prov)))
        return 0;

    snprintf(expected_greeting, sizeof(expected_greeting),
    BIO_snprintf(expected_greeting, sizeof(expected_greeting),
                 "Hello OpenSSL %.20s, greetings from %s!",
                 OPENSSL_VERSION_STR, name);

+1 −1
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ static int test_provider(const char *name)
    const char *greeting = NULL;
    char expected_greeting[256];

    snprintf(expected_greeting, sizeof(expected_greeting),
    BIO_snprintf(expected_greeting, sizeof(expected_greeting),
             "Hello OpenSSL %.20s, greetings from %s!",
             OPENSSL_VERSION_STR, name);