summaryrefslogtreecommitdiff
path: root/security/nss/lib/pkcs7/pkcs7t.h
diff options
context:
space:
mode:
authorrelyea%netscape.com <devnull@localhost>2001-09-20 21:37:16 +0000
committerrelyea%netscape.com <devnull@localhost>2001-09-20 21:37:16 +0000
commitfbef7a20a10e9094c91ac7a307948d042fe89434 (patch)
treeb157298725360ea25ca6b01607c53a93d6de17e9 /security/nss/lib/pkcs7/pkcs7t.h
parent0959c51d478fee7614202295f8cc27daa70b4e98 (diff)
downloadnss-hg-fbef7a20a10e9094c91ac7a307948d042fe89434.tar.gz
Fix compilier warnings on AIX, Solaris, HP, and Linux.
Diffstat (limited to 'security/nss/lib/pkcs7/pkcs7t.h')
-rw-r--r--security/nss/lib/pkcs7/pkcs7t.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/security/nss/lib/pkcs7/pkcs7t.h b/security/nss/lib/pkcs7/pkcs7t.h
index a3e974f7b..251d917b7 100644
--- a/security/nss/lib/pkcs7/pkcs7t.h
+++ b/security/nss/lib/pkcs7/pkcs7t.h
@@ -51,6 +51,10 @@
typedef struct SEC_PKCS7DecoderContextStr SEC_PKCS7DecoderContext;
typedef struct SEC_PKCS7EncoderContextStr SEC_PKCS7EncoderContext;
+/* legacy defines that haven't been active for years */
+typedef void *(*SECKEYGetPasswordKey)(void *arg, void *handle);
+
+
/* Non-opaque objects. NOTE, though: I want them to be treated as
* opaque as much as possible. If I could hide them completely,
* I would. (I tried, but ran into trouble that was taking me too
@@ -100,7 +104,6 @@ typedef struct SEC_PKCS7SMIMEKEAParametersStr SEC_PKCS7SMIMEKEAParameters;
*/
typedef struct SEC_PKCS7AttributeStr SEC_PKCS7Attribute;
-
struct SEC_PKCS7ContentInfoStr {
PRArenaPool *poolp; /* local; not part of encoding */
PRBool created; /* local; not part of encoding */
@@ -223,7 +226,8 @@ typedef enum
{
SECKEAUsesSkipjack = 0,
SECKEAUsesNonSkipjack = 1,
- SECKEAUsesNonSkipjackWithPaddedEncKey = 2
+ SECKEAUsesNonSkipjackWithPaddedEncKey = 2,
+ SECKEAInvalid = -1
} SECKEATemplateSelector;
/* ### mwelch - S/MIME KEA parameters. These don't really fit here,