summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorsteve <steve>2012-03-09 18:38:35 +0000
committersteve <steve>2012-03-09 18:38:35 +0000
commitb58d237380aafc2b3bdd7814a97128f999ab4a9c (patch)
tree823c511a6d08f66bacd28a572746f27e739dcbea /apps
parent09433c4c99fd242332c52efe4c62b1a9fd048edc (diff)
downloadopenssl-b58d237380aafc2b3bdd7814a97128f999ab4a9c.tar.gz
Submitted by: Peter Sylvester <peter.sylvester@edelweb.fr>
Add more extension names in s_cb.c extension printing code.
Diffstat (limited to 'apps')
-rw-r--r--apps/s_cb.c45
1 files changed, 39 insertions, 6 deletions
diff --git a/apps/s_cb.c b/apps/s_cb.c
index 7eaffa8a5..eab0a0803 100644
--- a/apps/s_cb.c
+++ b/apps/s_cb.c
@@ -757,6 +757,22 @@ void MS_CALLBACK tlsext_cb(SSL *s, int client_server, int type,
extname = "status request";
break;
+ case TLSEXT_TYPE_user_mapping:
+ extname = "user mapping";
+ break;
+
+ case TLSEXT_TYPE_client_authz:
+ extname = "client authz";
+ break;
+
+ case TLSEXT_TYPE_server_authz:
+ extname = "server authz";
+ break;
+
+ case TLSEXT_TYPE_cert_type:
+ extname = "cert type";
+ break;
+
case TLSEXT_TYPE_elliptic_curves:
extname = "elliptic curves";
break;
@@ -765,23 +781,40 @@ void MS_CALLBACK tlsext_cb(SSL *s, int client_server, int type,
extname = "EC point formats";
break;
- case TLSEXT_TYPE_session_ticket:
- extname = "server ticket";
- break;
-
- case TLSEXT_TYPE_renegotiate:
- extname = "renegotiate";
+ case TLSEXT_TYPE_srp:
+ extname = "SRP";
break;
case TLSEXT_TYPE_signature_algorithms:
extname = "signature algorithms";
break;
+ case TLSEXT_TYPE_use_srtp:
+ extname = "use SRTP";
+ break;
+
+ case TLSEXT_TYPE_heartbeat:
+ extname = "heartbeat";
+ break;
+
+ case TLSEXT_TYPE_session_ticket:
+ extname = "session ticket";
+ break;
+
+ case TLSEXT_TYPE_renegotiate:
+ extname = "renegotiation info";
+ break;
+
#ifdef TLSEXT_TYPE_opaque_prf_input
case TLSEXT_TYPE_opaque_prf_input:
extname = "opaque PRF input";
break;
#endif
+#ifdef TLSEXT_TYPE_next_proto_neg
+ case TLSEXT_TYPE_next_proto_neg:
+ extname = "next protocol";
+ break;
+#endif
default:
extname = "unknown";