ssl/s3_clnt.c: fix intermittent failures.
[openssl.git] / ssl / s3_clnt.c
index 1e611c4..b37a733 100644 (file)
@@ -2580,6 +2580,7 @@ int ssl3_send_client_key_exchange(SSL *s)
                 DH_free(dh_clnt);
                 goto err;
             }
+            pmslen = n;
 
             if (s->s3->flags & TLS1_FLAGS_SKIP_CERT_VERIFY)
                 n = 0;