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:
24fc4f6
)
Add strings for DTLS protocol versions
author
Dr. Stephen Henson
<steve@openssl.org>
Sat, 16 Jan 2010 19:02:43 +0000
(19:02 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Sat, 16 Jan 2010 19:02:43 +0000
(19:02 +0000)
ssl/ssl_txt.c
patch
|
blob
|
history
diff --git
a/ssl/ssl_txt.c
b/ssl/ssl_txt.c
index 136a308f44d22858b8ad5843b522462abe0c92f7..81c136169870164802fc4045777c1c3a2d785b43 100644
(file)
--- a/
ssl/ssl_txt.c
+++ b/
ssl/ssl_txt.c
@@
-91,6
+91,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;