diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2012-10-08 15:10:07 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2012-10-08 15:10:07 +0000 |
commit | a70da5b3ecc3160368529677006801c58cb369db (patch) | |
tree | 1d6ddfa96a05ff50c05aca002ab884e428a45e8e /apps/apps.h | |
parent | c5f6da54fc64fb544028a547c9f6835f3f392428 (diff) | |
download | openssl-a70da5b3ecc3160368529677006801c58cb369db.tar.gz |
New functions to check a hostname email or IP address against a
certificate. Add options to s_client, s_server and x509 utilities
to print results of checks.
Diffstat (limited to 'apps/apps.h')
-rw-r--r-- | apps/apps.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/apps.h b/apps/apps.h index c1ca99da12..4c9f95a1ce 100644 --- a/apps/apps.h +++ b/apps/apps.h @@ -335,6 +335,11 @@ void jpake_server_auth(BIO *out, BIO *conn, const char *secret); unsigned char *next_protos_parse(unsigned short *outlen, const char *in); #endif /* !OPENSSL_NO_TLSEXT && !OPENSSL_NO_NEXTPROTONEG */ +void print_cert_checks(BIO *bio, X509 *x, + const unsigned char *checkhost, + const unsigned char *checkemail, + const char *checkip); + #define FORMAT_UNDEF 0 #define FORMAT_ASN1 1 #define FORMAT_TEXT 2 |