projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
561cbe5
)
Print out DTLS versions too.
author
Dr. Stephen Henson
<steve@openssl.org>
Wed, 13 May 2009 16:24:12 +0000
(16:24 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Wed, 13 May 2009 16:24:12 +0000
(16:24 +0000)
ssl/ssl_txt.c
patch
|
blob
|
history
diff --git
a/ssl/ssl_txt.c
b/ssl/ssl_txt.c
index 26dee73bfaaa0ead803786290d2f0a2857f2446b..070161021b105f8adcca950b0621ccc01d5c7929 100644
(file)
--- a/
ssl/ssl_txt.c
+++ b/
ssl/ssl_txt.c
@@
-117,6
+117,10
@@
int SSL_SESSION_print(BIO *bp, const SSL_SESSION *x)
s="SSLv3";
else if (x->ssl_version == TLS1_VERSION)
s="TLSv1";
+ else if (x->ssl_version == DTLS1_VERSION)
+ s="DTLSv1";
+ else if (x->ssl_version == DTLS1_BAD_VER)
+ s="DTLSv1-bad";
else
s="unknown";
if (BIO_printf(bp," Protocol : %s\n",s) <= 0) goto err;