summaryrefslogtreecommitdiff
path: root/security/nss/lib
diff options
context:
space:
mode:
authorjavi%netscape.com <devnull@localhost>2002-05-24 00:53:48 +0000
committerjavi%netscape.com <devnull@localhost>2002-05-24 00:53:48 +0000
commit6f8d44bb3c7e7862ad31372b6fb6b5bb2733e472 (patch)
treeedb36da0974e45dbe67ee32150386b9662bca749 /security/nss/lib
parent2c1c99486b48f1620deb01bfe8e41eda7e071a4e (diff)
downloadnss-hg-6f8d44bb3c7e7862ad31372b6fb6b5bb2733e472.tar.gz
Add macros to make header file C++ friendly.
Diffstat (limited to 'security/nss/lib')
-rw-r--r--security/nss/lib/pkcs12/p12plcy.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/security/nss/lib/pkcs12/p12plcy.h b/security/nss/lib/pkcs12/p12plcy.h
index 1a3a9ee2f..4e99608cb 100644
--- a/security/nss/lib/pkcs12/p12plcy.h
+++ b/security/nss/lib/pkcs12/p12plcy.h
@@ -36,6 +36,8 @@
#include "secoid.h"
#include "ciferfam.h"
+SEC_BEGIN_PROTOS
+
/* for the algid specified, can we decrypt it ? */
extern PRBool SEC_PKCS12DecryptionAllowed(SECAlgorithmID *algid);
@@ -54,4 +56,5 @@ extern SECStatus SEC_PKCS12EnableCipher(long which, int on);
/* return the preferred cipher for encryption */
extern SECStatus SEC_PKCS12SetPreferredCipher(long which, int on);
+SEC_END_PROTOS
#endif