diff options
author | Richard Levitte <levitte@openssl.org> | 2015-12-07 20:37:08 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2015-12-07 20:37:08 +0100 |
commit | 39d5193201cd0d73afebbd8c08f641b541c02b77 (patch) | |
tree | 01e63818557aa839978fa56ed164f3286c733cd2 /ssl | |
parent | b91dd150d2b9b5ddca37722e7f52ea59ba7f80da (diff) |
Fix clang complaints about uninitialised variables.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/t1_enc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl/t1_enc.c b/ssl/t1_enc.c index 5889558d7e..2d96330e82 100644 --- a/ssl/t1_enc.c +++ b/ssl/t1_enc.c @@ -157,8 +157,8 @@ static int tls1_P_hash(const EVP_MD *md, const unsigned char *sec, { int chunk; size_t j; - EVP_MD_CTX *ctx, *ctx_tmp, *ctx_init; - EVP_PKEY *mac_key; + EVP_MD_CTX *ctx = NULL, *ctx_tmp = NULL, *ctx_init = NULL; + EVP_PKEY *mac_key = NULL; unsigned char A1[EVP_MAX_MD_SIZE]; size_t A1_len; int ret = 0; |