diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2000-04-13 06:33:22 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2000-04-13 06:33:22 +0000 |
commit | f579bf8ec7713035a231884db9958cdc4ff5d7cf (patch) | |
tree | 85b9c007d5ac1d91a3895eef3fd18d6114b62cc4 /crypto/openssl/apps/nseq.c | |
parent | 97b2ed56f81c44973772e4cf3869f4f70e2b5d78 (diff) | |
download | src-test2-f579bf8ec7713035a231884db9958cdc4ff5d7cf.tar.gz src-test2-f579bf8ec7713035a231884db9958cdc4ff5d7cf.zip |
Notes
Diffstat (limited to 'crypto/openssl/apps/nseq.c')
-rw-r--r-- | crypto/openssl/apps/nseq.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/crypto/openssl/apps/nseq.c b/crypto/openssl/apps/nseq.c index d9d01659e78d..cc88d50ceba5 100644 --- a/crypto/openssl/apps/nseq.c +++ b/crypto/openssl/apps/nseq.c @@ -65,7 +65,7 @@ #undef PROG #define PROG nseq_main -static int dump_cert_text(BIO *out, X509 *x); +int MAIN(int, char **); int MAIN(int argc, char **argv) { @@ -158,17 +158,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; -} - |