Experimental encrypt-then-mac support.
[openssl.git] / apps / s_cb.c
index 8127e77143ee1f6b927136d12518d02756bd80c1..b1102ceed6f5a58df0cbc76bf7024c12400af1d2 100644 (file)
@@ -1023,6 +1023,11 @@ void MS_CALLBACK tlsext_cb(SSL *s, int client_server, int type,
                extname = "next protocol";
                break;
 #endif
+#ifdef TLSEXT_TYPE_encrypt_then_mac
+               case TLSEXT_TYPE_encrypt_then_mac:
+               extname = "encrypt-then-mac";
+               break;
+#endif
 
                default:
                extname = "unknown";