summaryrefslogtreecommitdiffstats
path: root/apps/pkcs12.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>1999-11-12 01:42:25 +0000
committerDr. Stephen Henson <steve@openssl.org>1999-11-12 01:42:25 +0000
commit954ef7ef693f97edbd6be727d417333c28cda0eb (patch)
tree4d31f383cd48e6617ad494aa308373a05b0f1624 /apps/pkcs12.c
parentc4471290c0898b920587b234a31f96194235a067 (diff)
Merge some common functionality in the apps, delete
the encryption option in the pkcs7 utility (they never did anything) and add a couple more options to pkcs7.
Diffstat (limited to 'apps/pkcs12.c')
-rw-r--r--apps/pkcs12.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/apps/pkcs12.c b/apps/pkcs12.c
index f6b444b5f6..5523622625 100644
--- a/apps/pkcs12.c
+++ b/apps/pkcs12.c
@@ -79,7 +79,6 @@ EVP_CIPHER *enc;
#define CACERTS 0x10
int get_cert_chain(X509 *cert, STACK_OF(X509) **chain);
-int dump_cert_text (BIO *out, X509 *x);
int dump_certs_keys_p12(BIO *out, PKCS12 *p12, char *pass, int passlen, int options);
int dump_certs_pkeys_bags(BIO *out, STACK *bags, char *pass, int passlen, int options);
int dump_certs_pkeys_bag(BIO *out, PKCS12_SAFEBAG *bags, char *pass, int passlen, int options);
@@ -453,20 +452,6 @@ int MAIN(int argc, char **argv)
EXIT(ret);
}
-int dump_cert_text (BIO *out, X509 *x)
-{
- char buf[256];
- X509_NAME_oneline(X509_get_subject_name(x),buf,256);
- BIO_puts(out,"subject=");
- BIO_puts(out,buf);
-
- X509_NAME_oneline(X509_get_issuer_name(x),buf,256);
- BIO_puts(out,"\nissuer= ");
- BIO_puts(out,buf);
- BIO_puts(out,"\n");
- return 0;
-}
-
int dump_certs_keys_p12 (BIO *out, PKCS12 *p12, char *pass,
int passlen, int options)
{