From: Dr. Stephen Henson Date: Tue, 31 May 2011 10:35:22 +0000 (+0000) Subject: Don't round up partitioned premaster secret length if there is only one X-Git-Tag: OpenSSL_1_0_1-beta1~285 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f93b03a5e67ef9163a964d6e554ac6069122f55e;p=oweals%2Fopenssl.git Don't round up partitioned premaster secret length if there is only one digest in use: this caused the PRF to fail for an odd premaster secret length. --- diff --git a/ssl/t1_enc.c b/ssl/t1_enc.c index 36128dcf6b..d180bfc95c 100644 --- a/ssl/t1_enc.c +++ b/ssl/t1_enc.c @@ -265,6 +265,8 @@ static int tls1_PRF(long digest_mask, if ((m<