commit | 43f9799ce61c6392a014d0a2ea136b4b3a9ee194 | [log] [tgz] |
---|---|---|
author | Paul Bakker <p.j.bakker@polarssl.org> | Mon Sep 23 11:23:31 2013 +0200 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Mon Sep 23 11:23:31 2013 +0200 |
tree | df3b646b6c35db528d1902e4de451699ab6e6ef6 | |
parent | 88a2264def143fc9d5b8705bb6aec188ec61061f [diff] [blame] |
RSA blinding on CRT operations to counter timing attacks
diff --git a/library/ssl_cli.c b/library/ssl_cli.c index e4a102b..2dca657 100644 --- a/library/ssl_cli.c +++ b/library/ssl_cli.c
@@ -875,7 +875,7 @@ SSL_DEBUG_BUF( 3, "parameters hash", hash, hashlen ); if( ( ret = rsa_pkcs1_verify( &ssl->session_negotiate->peer_cert->rsa, - RSA_PUBLIC, + NULL, NULL, RSA_PUBLIC, hash_id, hashlen, hash, p ) ) != 0 ) { SSL_DEBUG_RET( 1, "rsa_pkcs1_verify", ret );