[openssl] master update
shane.lontis at oracle.com
shane.lontis at oracle.com
Thu Apr 30 08:06:08 UTC 2020
The branch master has been updated
via bb4f39114caabbc11caf7840db7bfcd2bf2ff430 (commit)
from 588d5d01fefde6a3437d6749b4435c41180df868 (commit)
- Log -----------------------------------------------------------------
commit bb4f39114caabbc11caf7840db7bfcd2bf2ff430
Author: Shane Lontis <shane.lontis at oracle.com>
Date: Wed Apr 29 16:19:16 2020 +1000
Fix snprintf missing for windows build
Reviewed-by: Richard Levitte <levitte at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11675)
-----------------------------------------------------------------------
Summary of changes:
crypto/x509/v3_alt.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/crypto/x509/v3_alt.c b/crypto/x509/v3_alt.c
index 52e936a3af..98ff0bca94 100644
--- a/crypto/x509/v3_alt.c
+++ b/crypto/x509/v3_alt.c
@@ -11,6 +11,7 @@
#include "internal/cryptlib.h"
#include <openssl/conf.h>
#include <openssl/x509v3.h>
+#include <openssl/bio.h>
#include "ext_dat.h"
DEFINE_STACK_OF(CONF_VALUE)
@@ -126,7 +127,8 @@ STACK_OF(CONF_VALUE) *i2v_GENERAL_NAME(X509V3_EXT_METHOD *method,
break;
default:
if (OBJ_obj2txt(oline, sizeof(oline), gen->d.otherName->type_id, 0) > 0)
- snprintf(othername, sizeof(othername), "othername: %s:", oline);
+ BIO_snprintf(othername, sizeof(othername), "othername: %s:",
+ oline);
else
strncpy(othername, "othername:", sizeof(othername));
More information about the openssl-commits
mailing list