diff options
-rw-r--r-- | lib/libcrypto/engine/hw_cryptodev.c | 2 | ||||
-rw-r--r-- | lib/libssl/d1_srvr.c | 2 | ||||
-rw-r--r-- | lib/libssl/s3_srvr.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/libcrypto/engine/hw_cryptodev.c b/lib/libcrypto/engine/hw_cryptodev.c index bc953872dd0..190dcc4f753 100644 --- a/lib/libcrypto/engine/hw_cryptodev.c +++ b/lib/libcrypto/engine/hw_cryptodev.c @@ -654,7 +654,7 @@ xcrypt_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, unsigned char *ivs = DOALIGN(ivs_store); void *iiv, *iv = NULL, *ivp = NULL; const void *usein = in; - void *useout = out, *spare; + void *useout = out, *spare = NULL; int cws[4 + 3], *cw = DOALIGN(cws); if (!inl) diff --git a/lib/libssl/d1_srvr.c b/lib/libssl/d1_srvr.c index 8fa75819bb1..9995278a264 100644 --- a/lib/libssl/d1_srvr.c +++ b/lib/libssl/d1_srvr.c @@ -1016,7 +1016,7 @@ dtls1_send_server_key_exchange(SSL *s) #endif #ifndef OPENSSL_NO_PSK - size_t pskhintlen; + size_t pskhintlen = 0; #endif EVP_PKEY *pkey; unsigned char *p, *d; diff --git a/lib/libssl/s3_srvr.c b/lib/libssl/s3_srvr.c index ea3137c0743..f3edcc2efb6 100644 --- a/lib/libssl/s3_srvr.c +++ b/lib/libssl/s3_srvr.c @@ -1552,7 +1552,7 @@ ssl3_send_server_key_exchange(SSL *s) #endif #ifndef OPENSSL_NO_PSK - size_t pskhintlen; + size_t pskhintlen = 0; #endif EVP_PKEY *pkey; const EVP_MD *md = NULL; |