From 88f17b8549844cf27c3b34dd38a79c4a1c537601 Mon Sep 17 00:00:00 2001 From: Paul Bakker Date: Thu, 26 Apr 2012 18:52:13 +0000 Subject: [PATCH] - Fixed for new DHM handling (TLS 1.2) --- programs/pkey/dh_client.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/programs/pkey/dh_client.c b/programs/pkey/dh_client.c index e4307f393..381050782 100644 --- a/programs/pkey/dh_client.c +++ b/programs/pkey/dh_client.c @@ -193,6 +193,8 @@ int main( int argc, char *argv[] ) printf( "\n . Verifying the server's RSA signature" ); fflush( stdout ); + p += 2; + if( ( n = (size_t) ( end - p ) ) != rsa.len ) { ret = 1;