summaryrefslogtreecommitdiff
path: root/src/usr.bin/openssl/s_cb.c
diff options
context:
space:
mode:
authorinoguchi <>2018-01-15 11:02:07 +0000
committerinoguchi <>2018-01-15 11:02:07 +0000
commitacbaebc6cff388f806f67cb2ca1b90564bf1ce82 (patch)
tree4142c6511fd7d39395519b103b7a5a6d0ccd577d /src/usr.bin/openssl/s_cb.c
parent77442bdf87ecfcc73913e33106ab8a2087e00541 (diff)
downloadopenbsd-acbaebc6cff388f806f67cb2ca1b90564bf1ce82.tar.gz
openbsd-acbaebc6cff388f806f67cb2ca1b90564bf1ce82.tar.bz2
openbsd-acbaebc6cff388f806f67cb2ca1b90564bf1ce82.zip
Add s_server and s_client -tlsextdebug messages
ok sthen@ jsing@
Diffstat (limited to 'src/usr.bin/openssl/s_cb.c')
-rw-r--r--src/usr.bin/openssl/s_cb.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/usr.bin/openssl/s_cb.c b/src/usr.bin/openssl/s_cb.c
index 73c4953c62..b25118c030 100644
--- a/src/usr.bin/openssl/s_cb.c
+++ b/src/usr.bin/openssl/s_cb.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: s_cb.c,v 1.8 2017/08/12 21:04:33 jsing Exp $ */ 1/* $OpenBSD: s_cb.c,v 1.9 2018/01/15 11:02:07 inoguchi Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -732,6 +732,14 @@ tlsext_cb(SSL * s, int client_server, int type, unsigned char *data, int len,
732 extname = "renegotiation info"; 732 extname = "renegotiation info";
733 break; 733 break;
734 734
735 case TLSEXT_TYPE_application_layer_protocol_negotiation:
736 extname = "application layer protocol negotiation";
737 break;
738
739 case TLSEXT_TYPE_padding:
740 extname = "TLS padding";
741 break;
742
735 default: 743 default:
736 extname = "unknown"; 744 extname = "unknown";
737 break; 745 break;