summaryrefslogtreecommitdiff
path: root/lib/cryptohi
diff options
context:
space:
mode:
authorKai Engert <kaie@kuix.de>2017-03-08 19:39:49 +0100
committerKai Engert <kaie@kuix.de>2017-03-08 19:39:49 +0100
commit1008c517e06945d5973f5003a884c88a04502067 (patch)
treeae9ffa0cf98464a57b543a547d419c183f4490e2 /lib/cryptohi
parent2bffe0a73b57d6d3219868d103dc7bc4329a852f (diff)
downloadnss-hg-1008c517e06945d5973f5003a884c88a04502067.tar.gz
Bug 1345083, Move PK11_HasAttributeSet to public header, r=franziskus, r=rrelyea
Diffstat (limited to 'lib/cryptohi')
-rw-r--r--lib/cryptohi/keythi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cryptohi/keythi.h b/lib/cryptohi/keythi.h
index 36896540f..f6170bb78 100644
--- a/lib/cryptohi/keythi.h
+++ b/lib/cryptohi/keythi.h
@@ -209,7 +209,7 @@ typedef struct SECKEYPublicKeyStr SECKEYPublicKey;
(0 != (key->staticflags & SECKEY_Attributes_Cached)) ? (0 != (key->staticflags & SECKEY_##attribute)) : PK11_HasAttributeSet(key->pkcs11Slot, key->pkcs11ID, attribute, PR_FALSE)
#define SECKEY_HAS_ATTRIBUTE_SET_LOCK(key, attribute, haslock) \
- (0 != (key->staticflags & SECKEY_Attributes_Cached)) ? (0 != (key->staticflags & SECKEY_##attribute)) : PK11_HasAttributeSet(key->pkcs11Slot, key->pkcs11ID, attribute, haslock)
+ (0 != (key->staticflags & SECKEY_Attributes_Cached)) ? (0 != (key->staticflags & SECKEY_##attribute)) : pk11_HasAttributeSet_Lock(key->pkcs11Slot, key->pkcs11ID, attribute, haslock)
/*
** A generic key structure