Index: nss/lib/pk11wrap/pk11pub.h |
diff --git a/nss/lib/pk11wrap/pk11pub.h b/nss/lib/pk11wrap/pk11pub.h |
index c3beef9860f321bf9c06af9463011575ad095488..f0bf2c882ada5f22ec22bb4aee407d78ac08b9f7 100644 |
--- a/nss/lib/pk11wrap/pk11pub.h |
+++ b/nss/lib/pk11wrap/pk11pub.h |
@@ -608,7 +608,7 @@ SECStatus PK11_WrapPrivKey(PK11SlotInfo *slot, PK11SymKey *wrappingKey, |
* The caller of PK11_DEREncodePublicKey should free the returned SECItem with |
* a SECITEM_FreeItem(..., PR_TRUE) call. |
*/ |
-SECItem* PK11_DEREncodePublicKey(SECKEYPublicKey *pubk); |
+SECItem* PK11_DEREncodePublicKey(const SECKEYPublicKey *pubk); |
PK11SymKey* PK11_CopySymKeyForSigning(PK11SymKey *originalKey, |
CK_MECHANISM_TYPE mech); |
SECKEYPrivateKeyList* PK11_ListPrivKeysInSlot(PK11SlotInfo *slot, |
@@ -793,7 +793,7 @@ PK11_GetPBECryptoMechanism(SECAlgorithmID *algid, |
/********************************************************************** |
* Functions to manage secmod flags |
**********************************************************************/ |
-PK11DefaultArrayEntry *PK11_GetDefaultArray(int *size); |
+const PK11DefaultArrayEntry *PK11_GetDefaultArray(int *size); |
SECStatus PK11_UpdateSlotAttribute(PK11SlotInfo *slot, |
const PK11DefaultArrayEntry *entry, |
PRBool add); |