[openssl] master update
Dr. Paul Dale
pauli at openssl.org
Thu Aug 5 23:24:49 UTC 2021
The branch master has been updated
via 6ef8d2c69b3f0371d44d120bde41de25c4040a75 (commit)
from 37578dc02df99011c2a4c57ac06c49bd40829dc9 (commit)
- Log -----------------------------------------------------------------
commit 6ef8d2c69b3f0371d44d120bde41de25c4040a75
Author: Kelvin Lee <kiyolee at gmail.com>
Date: Thu Sep 10 15:58:13 2020 +1000
Fix VS2019 compile error C4703: potentially uninitialized local pointer variable used.
encode_key2text.c(689): error C4703: potentially uninitialized local pointer variable 'modulus_label' used
encode_key2text.c(691): error C4703: potentially uninitialized local pointer variable 'exponent_label' used
CLA: trivial
Reviewed-by: Richard Levitte <levitte at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12845)
-----------------------------------------------------------------------
Summary of changes:
providers/implementations/encode_decode/encode_key2text.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/providers/implementations/encode_decode/encode_key2text.c b/providers/implementations/encode_decode/encode_key2text.c
index a1fc7ab498..f8f9712e96 100644
--- a/providers/implementations/encode_decode/encode_key2text.c
+++ b/providers/implementations/encode_decode/encode_key2text.c
@@ -633,8 +633,8 @@ static int rsa_to_text(BIO *out, const void *key, int selection)
{
const RSA *rsa = key;
const char *type_label = "RSA key";
- const char *modulus_label;
- const char *exponent_label;
+ const char *modulus_label = NULL;
+ const char *exponent_label = NULL;
const BIGNUM *rsa_d = NULL, *rsa_n = NULL, *rsa_e = NULL;
STACK_OF(BIGNUM_const) *factors = NULL;
STACK_OF(BIGNUM_const) *exps = NULL;
More information about the openssl-commits
mailing list