diff options
author | wchang0222%aol.com <devnull@localhost> | 2003-11-01 05:17:16 +0000 |
---|---|---|
committer | wchang0222%aol.com <devnull@localhost> | 2003-11-01 05:17:16 +0000 |
commit | 020dc00aa46f0ae931fa6131cdc2071f1e76a3ba (patch) | |
tree | 4cab0ef99c4da83b7b1da6791e7dc4c9b3cb0978 | |
parent | 883d836d775905375fe2e2c9bf1eebbe046dd870 (diff) | |
download | nss-hg-020dc00aa46f0ae931fa6131cdc2071f1e76a3ba.tar.gz |
Bugzilla bug 223624: fixed the compiler warning that case ecKey is not
handled in the switch statement. r=nelsonb.
-rw-r--r-- | security/nss/lib/pk11wrap/pk11cert.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/nss/lib/pk11wrap/pk11cert.c b/security/nss/lib/pk11wrap/pk11cert.c index 72b8b99eb..275fa3ac5 100644 --- a/security/nss/lib/pk11wrap/pk11cert.c +++ b/security/nss/lib/pk11wrap/pk11cert.c @@ -356,13 +356,13 @@ PK11_IsUserCert(PK11SlotInfo *slot, CERTCertificate *cert, PK11_SETATTRS(&theTemplate,CKA_VALUE, pubKey->u.dh.publicValue.data, pubKey->u.dh.publicValue.len); break; -#ifdef NSS_ENABLE_ECC case ecKey: +#ifdef NSS_ENABLE_ECC PK11_SETATTRS(&theTemplate,CKA_EC_POINT, pubKey->u.ec.publicValue.data, pubKey->u.ec.publicValue.len); - break; #endif /* NSS_ENABLE_ECC */ + break; case keaKey: case fortezzaKey: case nullKey: |