summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2012-12-06 19:36:51 +0100
committerDr. Stephen Henson <steve@openssl.org>2012-12-06 19:36:51 +0100
commitf5a7d5b164aba946ae144fb73fa2e226c26c700d (patch)
treea59d862c1c7bcc32a2a66d842a8a01882521a470 /apps
parentFix two bugs which affect delta CRL handling: (diff)
downloadopenssl-f5a7d5b164aba946ae144fb73fa2e226c26c700d.tar.xz
openssl-f5a7d5b164aba946ae144fb73fa2e226c26c700d.zip
remove print_ssl_cert_checks() from openssl application: it is no longer used
Diffstat (limited to 'apps')
-rw-r--r--apps/s_apps.h4
-rw-r--r--apps/s_cb.c14
2 files changed, 0 insertions, 18 deletions
diff --git a/apps/s_apps.h b/apps/s_apps.h
index 0a382419be..f6e85ee562 100644
--- a/apps/s_apps.h
+++ b/apps/s_apps.h
@@ -192,10 +192,6 @@ int args_excert(char ***pargs, int *pargc,
int *badarg, BIO *err, SSL_EXCERT **pexc);
int load_excert(SSL_EXCERT **pexc, BIO *err);
void print_ssl_summary(BIO *bio, SSL *s);
-void print_ssl_cert_checks(BIO *bio, SSL *s,
- const unsigned char *checkhost,
- const unsigned char *checkemail,
- const char *checkip);
#ifdef HEADER_SSL_H
int args_ssl(char ***pargs, int *pargc, SSL_CONF_CTX *cctx,
int *badarg, BIO *err, STACK_OF(OPENSSL_STRING) **pstr);
diff --git a/apps/s_cb.c b/apps/s_cb.c
index 1e03288dc6..8ba8a041a6 100644
--- a/apps/s_cb.c
+++ b/apps/s_cb.c
@@ -1572,20 +1572,6 @@ void print_ssl_summary(BIO *bio, SSL *s)
ssl_print_tmp_key(bio, s);
}
-void print_ssl_cert_checks(BIO *bio, SSL *s,
- const unsigned char *checkhost,
- const unsigned char *checkemail,
- const char *checkip)
- {
- X509 *peer;
- peer = SSL_get_peer_certificate(s);
- if (peer)
- {
- print_cert_checks(bio, peer, checkhost, checkemail, checkip);
- X509_free(peer);
- }
- }
-
int args_ssl(char ***pargs, int *pargc, SSL_CONF_CTX *cctx,
int *badarg, BIO *err, STACK_OF(OPENSSL_STRING) **pstr)
{