Fix clang complaints about uninitialised variables.
[openssl.git] / ssl / t1_enc.c
index 5889558d7eacba44dabdf44b19a53171fdb59441..2d96330e8220943ab6cc66507b16a765d6a88a29 100644 (file)
@@ -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;