From 0d3587c7fcb45dbf111721ade1ccc2abf9dc3934 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Thu, 17 Dec 2015 10:01:14 +0000 Subject: Add SSL_CIPHER_description() for Chacha20/Poly1305 SSL_CIPHER_description() was returning "unknown" for the encryption in the new ChaCha20/Poly1305 TLS ciphersuites. RT#4183 Reviewed-by: Richard Levitte --- ssl/ssl_ciph.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ssl/ssl_ciph.c') diff --git a/ssl/ssl_ciph.c b/ssl/ssl_ciph.c index ea6aba04f4..3939010515 100644 --- a/ssl/ssl_ciph.c +++ b/ssl/ssl_ciph.c @@ -1747,6 +1747,9 @@ char *SSL_CIPHER_description(const SSL_CIPHER *cipher, char *buf, int len) case SSL_eGOST2814789CNT12: enc = "GOST89(256)"; break; + case SSL_CHACHA20POLY1305: + enc = "CHACHA20/POLY1305(256)"; + break; default: enc = "unknown"; break; -- cgit v1.2.3