New options to the -verify program which can be used for chain verification.
[openssl.git] / apps / nseq.c
index d9d01659e78db03dc83c2cf0dba844bba5a5ee9c..4a921396f9f75c1029eb16494f4bf237408f33d7 100644 (file)
@@ -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;
-}
-