From 954ef7ef693f97edbd6be727d417333c28cda0eb Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Fri, 12 Nov 1999 01:42:25 +0000 Subject: 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. --- apps/nseq.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'apps/nseq.c') diff --git a/apps/nseq.c b/apps/nseq.c index d9d01659e7..4a921396f9 100644 --- a/apps/nseq.c +++ b/apps/nseq.c @@ -65,7 +65,6 @@ #undef PROG #define PROG nseq_main -static int dump_cert_text(BIO *out, X509 *x); int MAIN(int argc, char **argv) { @@ -158,17 +157,3 @@ end: EXIT(ret); } -static 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; -} - -- cgit v1.2.3