From f93b03a5e67ef9163a964d6e554ac6069122f55e Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Tue, 31 May 2011 10:35:22 +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<