remove print_ssl_cert_checks() from openssl application: it is no longer used
authorDr. Stephen Henson <steve@openssl.org>
Thu, 6 Dec 2012 18:36:51 +0000 (18:36 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 6 Dec 2012 18:36:51 +0000 (18:36 +0000)
apps/s_apps.h
apps/s_cb.c

index 0a382419be6353c5028c0127843f4c3497b4cb50..f6e85ee562cae7402c749da22657864f2afe9e1e 100644 (file)
@@ -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);
index 1e03288dc68e0d41fca8e08ab0f16ae62218935f..8ba8a041a663c7c7dcee4de98a3ae841cc5b4cfa 100644 (file)
@@ -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)
        {