From 51b9115b6dcaf94718de3c8b4d97b00f8cd63cd5 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Fri, 16 Nov 2012 00:35:46 +0000 Subject: new command line option -stdname to ciphers utility --- ssl/t1_trce.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ssl/t1_trce.c') diff --git a/ssl/t1_trce.c b/ssl/t1_trce.c index 3571aaacae..2c8a2e4486 100644 --- a/ssl/t1_trce.c +++ b/ssl/t1_trce.c @@ -1203,6 +1203,13 @@ static int ssl_print_heartbeat(BIO *bio, int indent, return 1; } +const char *SSL_CIPHER_standard_name(const SSL_CIPHER *c) + { + if (c->algorithm_ssl & SSL_SSLV2) + return NULL; + return ssl_trace_str(c->id & 0xFFFF, ssl_ciphers_tbl); + } + void SSL_trace(int write_p, int version, int content_type, const void *buf, size_t msglen, SSL *ssl, void *arg) { -- cgit v1.2.3