summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Engert <kaie@kuix.de>2015-05-25 18:15:44 +0200
committerKai Engert <kaie@kuix.de>2015-05-25 18:15:44 +0200
commit27c35919dcc8f036072c37aa756a673c130d7142 (patch)
tree2edee0a927a580f3d0cccdbf7fbacf3622847486
parent2033a5e022e208c4fb9184daed4e13babf7d088f (diff)
downloadnss-hg-27c35919dcc8f036072c37aa756a673c130d7142.tar.gz
Bug 1138554, fix a build bustage with old windows compilers.
-rw-r--r--lib/ssl/ssl3con.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ssl/ssl3con.c b/lib/ssl/ssl3con.c
index 8f67aeebb..6a168099c 100644
--- a/lib/ssl/ssl3con.c
+++ b/lib/ssl/ssl3con.c
@@ -10045,9 +10045,10 @@ ssl3_AuthCertificate(sslSocket *ss)
ss->sec.authAlgorithm = ss->ssl3.hs.kea_def->signKeyType;
ss->sec.keaType = ss->ssl3.hs.kea_def->exchKeyType;
if (pubKey) {
+ KeyType pubKeyType;
ss->sec.keaKeyBits = ss->sec.authKeyBits =
SECKEY_PublicKeyStrengthInBits(pubKey);
- KeyType pubKeyType = SECKEY_GetPublicKeyType(pubKey);
+ pubKeyType = SECKEY_GetPublicKeyType(pubKey);
/* Too small: not good enough. Send a fatal alert. */
/* TODO: Use 1023 for RSA because a higher RSA_MIN_MODULUS_BITS
* breaks export cipher suites, not 1024 to be conservative; when