summaryrefslogtreecommitdiff
path: root/lib/pk11wrap/pk11cert.c
diff options
context:
space:
mode:
authorKai Engert <kaie@kuix.de>2014-11-27 23:05:47 +0100
committerKai Engert <kaie@kuix.de>2014-11-27 23:05:47 +0100
commit13e42bc86cfee2efea3f9e30c6d5024eb25c0ec9 (patch)
tree4451c00517487777a08adf86ebdc2cae633b8c2e /lib/pk11wrap/pk11cert.c
parentec2b0d0e611a1e9bfd6c0bf7d2c4c18fd55f4a57 (diff)
downloadnss-hg-13e42bc86cfee2efea3f9e30c6d5024eb25c0ec9.tar.gz
backing out 575919285e2b, bug 1073330NSS_3_18_BETA4
Diffstat (limited to 'lib/pk11wrap/pk11cert.c')
-rw-r--r--lib/pk11wrap/pk11cert.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/pk11wrap/pk11cert.c b/lib/pk11wrap/pk11cert.c
index c4250c64d..29addd8be 100644
--- a/lib/pk11wrap/pk11cert.c
+++ b/lib/pk11wrap/pk11cert.c
@@ -2686,14 +2686,3 @@ PK11_GetAllSlotsForCert(CERTCertificate *cert, void *arg)
nssCryptokiObjectArray_Destroy(instances);
return slotList;
}
-
-SECStatus
-PK11_SetCertificateNickname(CERTCertificate *cert, const char *nickname)
-{
- /* Can't set nickname of temp cert. */
- if (!cert->slot || cert->pkcs11ID == CK_INVALID_HANDLE) {
- return SEC_ERROR_INVALID_ARGS;
- }
- return PK11_SetObjectNickname(cert->slot, cert->pkcs11ID, nickname);
-}
-