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 66c063a..01a84e6 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);