[openssl] master update

Richard Levitte levitte at openssl.org
Wed Apr 3 13:47:52 UTC 2019


The branch master has been updated
       via  e4e91084d6b7acbe55139141f553b361871ec768 (commit)
      from  b6670f690c4244e63dbc02a2ba25061f9c53945f (commit)


- Log -----------------------------------------------------------------
commit e4e91084d6b7acbe55139141f553b361871ec768
Author: Richard Levitte <levitte at openssl.org>
Date:   Wed Apr 3 15:44:17 2019 +0200

    replaced snprintf with BIO version (for windows builds)
    
    Reviewed-by: Matt Caswell <matt at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/8651)

-----------------------------------------------------------------------

Summary of changes:
 test/provider_internal_test.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/test/provider_internal_test.c b/test/provider_internal_test.c
index 54e6714..f3006fe 100644
--- a/test/provider_internal_test.c
+++ b/test/provider_internal_test.c
@@ -42,9 +42,9 @@ static const char *expected_greeting1(const char *name)
 {
     static char expected_greeting[256] = "";
 
-    snprintf(expected_greeting, sizeof(expected_greeting),
-             "Hello OpenSSL %.20s, greetings from %s!",
-             OPENSSL_VERSION_STR, name);
+    BIO_snprintf(expected_greeting, sizeof(expected_greeting),
+                 "Hello OpenSSL %.20s, greetings from %s!",
+                 OPENSSL_VERSION_STR, name);
 
     return expected_greeting;
 }


More information about the openssl-commits mailing list