Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(882)

Unified Diff: net/third_party/nss/ssl/ssl3con.c

Issue 13843023: Use CERT_GetCertKeyType to get KeyType for ssl3_PlatformSignHashes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated ssl3_PlatformSignHashes and indenting on Mac Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/third_party/nss/ssl/sslimpl.h » ('j') | net/third_party/nss/ssl/sslplatf.c » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/third_party/nss/ssl/ssl3con.c
diff --git a/net/third_party/nss/ssl/ssl3con.c b/net/third_party/nss/ssl/ssl3con.c
index 18ed5395c8ff674d4d1a92f3cf87fe865f85a56e..20d14833890ccdaf32e3dda94e3e21bbdbe32364 100644
--- a/net/third_party/nss/ssl/ssl3con.c
+++ b/net/third_party/nss/ssl/ssl3con.c
@@ -5365,8 +5365,9 @@ ssl3_SendCertificateVerify(sslSocket *ss)
isTLS = (PRBool)(ss->ssl3.pwSpec->version > SSL_LIBRARY_VERSION_3_0);
if (ss->ssl3.platformClientKey) {
#ifdef NSS_PLATFORM_CLIENT_AUTH
- rv = ssl3_PlatformSignHashes(&hashes, ss->ssl3.platformClientKey,
- &buf, isTLS);
+ rv = ssl3_PlatformSignHashes(
+ &hashes, ss->ssl3.platformClientKey, &buf, isTLS,
+ CERT_GetCertKeyType(&ss->ssl3.clientCertificate->subjectPublicKeyInfo));
mef 2013/04/26 16:08:05 With 8 chars tab size this function call didn't fi
wtc 2013/04/26 17:38:03 We can use a local variable: CERTSubjectPu
ssl_FreePlatformKey(ss->ssl3.platformClientKey);
ss->ssl3.platformClientKey = (PlatformKey)NULL;
#endif /* NSS_PLATFORM_CLIENT_AUTH */
« no previous file with comments | « no previous file | net/third_party/nss/ssl/sslimpl.h » ('j') | net/third_party/nss/ssl/sslplatf.c » ('J')

Powered by Google App Engine
This is Rietveld 408576698