summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'crypto')
-rw-r--r--crypto/scoped_nss_types.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/crypto/scoped_nss_types.h b/crypto/scoped_nss_types.h
index 3e84cb0..d8d78b0 100644
--- a/crypto/scoped_nss_types.h
+++ b/crypto/scoped_nss_types.h
@@ -6,6 +6,7 @@
#define CRYPTO_SCOPED_NSS_TYPES_H_
#pragma once
+#include <keyhi.h>
#include <nss.h>
#include <pk11pub.h>
@@ -39,6 +40,12 @@ typedef scoped_ptr_malloc<
typedef scoped_ptr_malloc<
PK11SymKey, NSSDestroyer<PK11SymKey, PK11_FreeSymKey> > ScopedPK11SymKey;
typedef scoped_ptr_malloc<
+ SECKEYPublicKey, NSSDestroyer<SECKEYPublicKey, SECKEY_DestroyPublicKey> >
+ ScopedSECKEYPublicKey;
+typedef scoped_ptr_malloc<
+ SECKEYPrivateKey, NSSDestroyer<SECKEYPrivateKey, SECKEY_DestroyPrivateKey> >
+ ScopedSECKEYPrivateKey;
+typedef scoped_ptr_malloc<
SECAlgorithmID, NSSDestroyer1<SECAlgorithmID,
SECOID_DestroyAlgorithmID,
PR_TRUE> > ScopedSECAlgorithmID;