From 1b2047c5c0deb9970016e51ee0ab6a9381ba497c Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Tue, 31 May 2011 10:34:43 +0000 Subject: [PATCH] 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. --- ssl/t1_enc.c | 2 ++ 1 file changed, 2 insertions(+) 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<