summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorShane Lontis <shane.lontis@oracle.com>2021-06-02 14:42:56 +1000
committerPauli <pauli@openssl.org>2021-06-03 16:15:41 +1000
commitba3ea453b0863a8b7374003dd2e22dea9cece5be (patch)
treed21b0f77c975a35cd9d21ce1cd5408bacad98085 /crypto
parent64360304863b3ac93a03dfadf36f9aeffd6a29ce (diff)
Fix errors found by parfait static analyser.
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15579)
Diffstat (limited to 'crypto')
-rw-r--r--crypto/evp/kdf_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/evp/kdf_lib.c b/crypto/evp/kdf_lib.c
index 77080e0b8d..5552b26601 100644
--- a/crypto/evp/kdf_lib.c
+++ b/crypto/evp/kdf_lib.c
@@ -125,7 +125,7 @@ void EVP_KDF_CTX_reset(EVP_KDF_CTX *ctx)
size_t EVP_KDF_CTX_get_kdf_size(EVP_KDF_CTX *ctx)
{
OSSL_PARAM params[2] = { OSSL_PARAM_END, OSSL_PARAM_END };
- size_t s;
+ size_t s = 0;
if (ctx == NULL)
return 0;