Commit 0d3587c7 authored by Matt Caswell's avatar Matt Caswell
Browse files

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: default avatarRichard Levitte <levitte@openssl.org>
parent ff842856
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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;