mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
remove print_ssl_cert_checks() from openssl application: it is no longer used
This commit is contained in:
parent
abd2ed012b
commit
f5a7d5b164
@ -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);
|
||||
|
14
apps/s_cb.c
14
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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user