Initialize outlen.
authorDr. Stephen Henson <steve@openssl.org>
Wed, 24 Jun 2009 13:29:29 +0000 (13:29 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 24 Jun 2009 13:29:29 +0000 (13:29 +0000)
ssl/s3_srvr.c

index 66c063a7ba492449e7ce27c366b59082c801869d..01a84e6f76d89da876128479ccd91657ea1cd5cb 100644 (file)
@@ -2504,7 +2504,7 @@ int ssl3_get_client_key_exchange(SSL *s)
                        EVP_PKEY_CTX *pkey_ctx;
                        EVP_PKEY *client_pub_pkey = NULL;
                        unsigned char premaster_secret[32], *start;
-                       size_t outlen, inlen;                   
+                       size_t outlen=32, inlen;                        
 
                        /* Get our certificate private key*/
                        pkey_ctx = EVP_PKEY_CTX_new(s->cert->key->privatekey,NULL);