diff options
author | nelsonb%netscape.com <devnull@localhost> | 2004-01-22 02:19:42 +0000 |
---|---|---|
committer | nelsonb%netscape.com <devnull@localhost> | 2004-01-22 02:19:42 +0000 |
commit | 7ff685d218d45dd85a357c57ef94be16c4927ced (patch) | |
tree | 45ed948329a0dae4dfe8adaf74206dd836f8290d | |
parent | 54fcea1c8f1aa7a261818ba506bdd09df5823963 (diff) | |
download | nss-hg-7ff685d218d45dd85a357c57ef94be16c4927ced.tar.gz |
Move an extern function declaration to the header file where it belongs.
Bug 229212. r=relyea.
-rw-r--r-- | security/nss/lib/cryptohi/keyhi.h | 4 | ||||
-rw-r--r-- | security/nss/lib/pk11wrap/pk11skey.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/security/nss/lib/cryptohi/keyhi.h b/security/nss/lib/cryptohi/keyhi.h index 4061352af..df5147649 100644 --- a/security/nss/lib/cryptohi/keyhi.h +++ b/security/nss/lib/cryptohi/keyhi.h @@ -283,6 +283,10 @@ SECKEY_AddPublicKeyToListTail( SECKEYPublicKeyList *list, #define PUBKEY_LIST_NEXT(n) ((SECKEYPublicKeyListNode *)n->links.next) #define PUBKEY_LIST_END(n,l) (((void *)n) == ((void *)&l->list)) +#ifdef NSS_ENABLE_ECC +extern int SECKEY_ECParamsToKeySize(const SECItem *params); +#endif /* NSS_ENABLE_ECC */ + SEC_END_PROTOS #endif /* _KEYHI_H_ */ diff --git a/security/nss/lib/pk11wrap/pk11skey.c b/security/nss/lib/pk11wrap/pk11skey.c index 35c553507..7998c81e7 100644 --- a/security/nss/lib/pk11wrap/pk11skey.c +++ b/security/nss/lib/pk11wrap/pk11skey.c @@ -72,10 +72,6 @@ static PK11SymKey *pk11_DeriveWithTemplate(PK11SymKey *baseKey, static PRBool pk11_FindAttrInTemplate(CK_ATTRIBUTE *attr, unsigned int numAttrs, CK_ATTRIBUTE_TYPE target); -#ifdef NSS_ENABLE_ECC -extern int SECKEY_ECParamsToKeySize(const SECItem *params); -#endif /* NSS_ENABLE_ECC */ - /* * strip leading zero's from key material */ |