aboutsummaryrefslogtreecommitdiff
path: root/crypto/pkcs12
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>1999-03-29 17:50:26 +0000
committerDr. Stephen Henson <steve@openssl.org>1999-03-29 17:50:26 +0000
commitee0508d4114e2b2291953a7d4c81a09b624b8821 (patch)
tree080fa161b394826423a96d45262a36c80641490a /crypto/pkcs12
parent7c0f3d09b32ee1882ee309b660e82bc3077f42db (diff)
downloadopenssl-ee0508d4114e2b2291953a7d4c81a09b624b8821.zip
openssl-ee0508d4114e2b2291953a7d4c81a09b624b8821.tar.gz
openssl-ee0508d4114e2b2291953a7d4c81a09b624b8821.tar.bz2
Include pkcs12 program as part of openssl. This completes most of the PKCS#12
integration.
Diffstat (limited to 'crypto/pkcs12')
-rw-r--r--crypto/pkcs12/p12_add.c3
-rw-r--r--crypto/pkcs12/p12_attr.c4
-rw-r--r--crypto/pkcs12/p12_bags.c5
-rw-r--r--crypto/pkcs12/p12_crpt.c3
-rw-r--r--crypto/pkcs12/p12_crt.c5
-rw-r--r--crypto/pkcs12/p12_decr.c11
-rw-r--r--crypto/pkcs12/p12_init.c5
-rw-r--r--crypto/pkcs12/p12_key.c5
-rw-r--r--crypto/pkcs12/p12_kiss.c6
-rw-r--r--crypto/pkcs12/p12_lib.c5
-rw-r--r--crypto/pkcs12/p12_mac.c5
-rw-r--r--crypto/pkcs12/p12_mutl.c8
-rw-r--r--crypto/pkcs12/p12_sbag.c5
-rw-r--r--crypto/pkcs12/p12_utl.c5
14 files changed, 20 insertions, 55 deletions
diff --git a/crypto/pkcs12/p12_add.c b/crypto/pkcs12/p12_add.c
index 2022b95..9e3522c 100644
--- a/crypto/pkcs12/p12_add.c
+++ b/crypto/pkcs12/p12_add.c
@@ -57,8 +57,7 @@
*/
#include <stdio.h>
-#include <stdlib.h>
-#include <err.h>
+#include "cryptlib.h"
#include "pkcs12.h"
/* Pack an object into an OCTET STRING and turn into a safebag */
diff --git a/crypto/pkcs12/p12_attr.c b/crypto/pkcs12/p12_attr.c
index f528742..49b9a88 100644
--- a/crypto/pkcs12/p12_attr.c
+++ b/crypto/pkcs12/p12_attr.c
@@ -57,9 +57,7 @@
*/
#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <err.h>
+#include "cryptlib.h"
#include "pkcs12.h"
/* Add a local keyid to a safebag */
diff --git a/crypto/pkcs12/p12_bags.c b/crypto/pkcs12/p12_bags.c
index 60d12fb..38729b6 100644
--- a/crypto/pkcs12/p12_bags.c
+++ b/crypto/pkcs12/p12_bags.c
@@ -57,9 +57,8 @@
*/
#include <stdio.h>
-#include <stdlib.h>
-#include <asn1_mac.h>
-#include <err.h>
+#include "cryptlib.h"
+#include "asn1_mac.h"
#include "pkcs12.h"
/*
diff --git a/crypto/pkcs12/p12_crpt.c b/crypto/pkcs12/p12_crpt.c
index 96c551e..7d3a94d 100644
--- a/crypto/pkcs12/p12_crpt.c
+++ b/crypto/pkcs12/p12_crpt.c
@@ -57,8 +57,7 @@
*/
#include <stdio.h>
-#include <stdlib.h>
-#include <err.h>
+#include "cryptlib.h"
#include "pkcs12.h"
/* PKCS#12 specific PBE functions */
diff --git a/crypto/pkcs12/p12_crt.c b/crypto/pkcs12/p12_crt.c
index f2e0aac..63a65e1 100644
--- a/crypto/pkcs12/p12_crt.c
+++ b/crypto/pkcs12/p12_crt.c
@@ -57,10 +57,7 @@
*/
#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <pem.h>
-#include <err.h>
+#include "cryptlib.h"
#include "pkcs12.h"
PKCS12 *PKCS12_create(pass, name, pkey, cert, ca, nid_key, nid_cert, iter,
diff --git a/crypto/pkcs12/p12_decr.c b/crypto/pkcs12/p12_decr.c
index c4af4fa..d28e886 100644
--- a/crypto/pkcs12/p12_decr.c
+++ b/crypto/pkcs12/p12_decr.c
@@ -57,16 +57,7 @@
*/
#include <stdio.h>
-#include <stdlib.h>
-#include <objects.h>
-#include <pkcs7.h>
-#include <err.h>
-#include <crypto.h>
-#include <sha.h>
-#include <stack.h>
-#include <evp.h>
-#include <string.h>
-#include "hmac.h"
+#include "cryptlib.h"
#include "pkcs12.h"
/* Define this to dump decrypted output to files called DERnnn */
diff --git a/crypto/pkcs12/p12_init.c b/crypto/pkcs12/p12_init.c
index 0556291..f6846a8 100644
--- a/crypto/pkcs12/p12_init.c
+++ b/crypto/pkcs12/p12_init.c
@@ -57,10 +57,7 @@
*/
#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <err.h>
-#include <rand.h>
+#include "cryptlib.h"
#include "pkcs12.h"
/* Initialise a PKCS12 structure to take data */
diff --git a/crypto/pkcs12/p12_key.c b/crypto/pkcs12/p12_key.c
index f1506ba..ec35786 100644
--- a/crypto/pkcs12/p12_key.c
+++ b/crypto/pkcs12/p12_key.c
@@ -57,10 +57,7 @@
*/
#include <stdio.h>
-#include <string.h>
-#include <stdlib.h>
-#include <err.h>
-#include <bn.h>
+#include "cryptlib.h"
#include "pkcs12.h"
diff --git a/crypto/pkcs12/p12_kiss.c b/crypto/pkcs12/p12_kiss.c
index 947e476..ef42060 100644
--- a/crypto/pkcs12/p12_kiss.c
+++ b/crypto/pkcs12/p12_kiss.c
@@ -57,11 +57,7 @@
*/
#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <pem.h>
-#include <err.h>
-#include <x509.h>
+#include "cryptlib.h"
#include "pkcs12.h"
/* Simplified PKCS#12 routines */
diff --git a/crypto/pkcs12/p12_lib.c b/crypto/pkcs12/p12_lib.c
index f83aae2..e5bc2da 100644
--- a/crypto/pkcs12/p12_lib.c
+++ b/crypto/pkcs12/p12_lib.c
@@ -57,9 +57,8 @@
*/
#include <stdio.h>
-#include <stdlib.h>
-#include <asn1_mac.h>
-#include <err.h>
+#include "cryptlib.h"
+#include "asn1_mac.h"
#include "pkcs12.h"
/*
diff --git a/crypto/pkcs12/p12_mac.c b/crypto/pkcs12/p12_mac.c
index 907c371..acb0c5f 100644
--- a/crypto/pkcs12/p12_mac.c
+++ b/crypto/pkcs12/p12_mac.c
@@ -57,9 +57,8 @@
*/
#include <stdio.h>
-#include <stdlib.h>
-#include <asn1_mac.h>
-#include <err.h>
+#include "cryptlib.h"
+#include "asn1_mac.h"
#include "pkcs12.h"
/*
*ASN1err(ASN1_F_PKCS12_MAC_DATA_NEW,ASN1_R_DECODE_ERROR)
diff --git a/crypto/pkcs12/p12_mutl.c b/crypto/pkcs12/p12_mutl.c
index b788e44..d5c2f73 100644
--- a/crypto/pkcs12/p12_mutl.c
+++ b/crypto/pkcs12/p12_mutl.c
@@ -57,11 +57,9 @@
*/
#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <err.h>
-#include <hmac.h>
-#include <rand.h>
+#include "cryptlib.h"
+#include "hmac.h"
+#include "rand.h"
#include "pkcs12.h"
/* Generate a MAC */
diff --git a/crypto/pkcs12/p12_sbag.c b/crypto/pkcs12/p12_sbag.c
index 7888fda..d39ffe4 100644
--- a/crypto/pkcs12/p12_sbag.c
+++ b/crypto/pkcs12/p12_sbag.c
@@ -57,9 +57,8 @@
*/
#include <stdio.h>
-#include <stdlib.h>
-#include <asn1_mac.h>
-#include <err.h>
+#include "cryptlib.h"
+#include "asn1_mac.h"
#include "pkcs12.h"
/*
diff --git a/crypto/pkcs12/p12_utl.c b/crypto/pkcs12/p12_utl.c
index ae689c9..1404dbc 100644
--- a/crypto/pkcs12/p12_utl.c
+++ b/crypto/pkcs12/p12_utl.c
@@ -57,10 +57,7 @@
*/
#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <bio.h>
-#include <err.h>
+#include "cryptlib.h"
#include "pkcs12.h"
/* Cheap and nasty Unicode stuff */