Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(245)

Unified Diff: lib/ssl/ssl3ecc.c

Issue 265700044: Bug 1215295 - Support RSA-PSS for digital signing (Closed)
Patch Set: Bug 1215295 - Support RSA-PSS for digital signing Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/ssl/ssl3con.c ('k') | lib/ssl/sslimpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/ssl/ssl3ecc.c
diff --git a/lib/ssl/ssl3ecc.c b/lib/ssl/ssl3ecc.c
index 94008a012b2597678fa945c9b41d2dae668925ad..e889a0a4a0aff53c3ce729bf50a18b55d4b7d4ef 100644
--- a/lib/ssl/ssl3ecc.c
+++ b/lib/ssl/ssl3ecc.c
@@ -692,7 +692,7 @@ ssl3_HandleECDHServerKeyExchange(sslSocket *ss, SSL3Opaque *b, PRUint32 length)
goto alert_loser;
}
rv = ssl3_VerifySignedHashes(&hashes, ss->sec.peerCert, &signature,
- isTLS, ss->pkcs11PinArg);
+ ss->ssl3.prSpec->version, ss->pkcs11PinArg);
if (rv != SECSuccess) {
errCode =
ssl_MapLowLevelError(SSL_ERROR_SERVER_KEY_EXCHANGE_FAILURE);
@@ -828,7 +828,7 @@ ssl3_SendECDHServerKeyExchange(
certIndex = kt_ecdh;
rv = ssl3_SignHashes(&hashes, ss->serverCerts[certIndex].SERVERKEY,
- &signed_hash, isTLS);
+ &signed_hash, ss->ssl3.prSpec->version);
if (rv != SECSuccess) {
goto loser; /* ssl3_SignHashes has set err. */
}
« no previous file with comments | « lib/ssl/ssl3con.c ('k') | lib/ssl/sslimpl.h » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b