diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2009-05-13 18:38:51 +0200 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2009-05-13 18:38:51 +0200 |
commit | 6f71e5ee6af9db9c565456018ff6af81560bb98a (patch) | |
tree | 68ad631a20d6dbe0b3765768e2d6627e4398f85f /ssl/ssl_txt.c | |
parent | Update from 1.0.0-stable. (diff) | |
download | openssl-6f71e5ee6af9db9c565456018ff6af81560bb98a.tar.xz openssl-6f71e5ee6af9db9c565456018ff6af81560bb98a.zip |
Update from stable branch.
Diffstat (limited to 'ssl/ssl_txt.c')
-rw-r--r-- | ssl/ssl_txt.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ssl/ssl_txt.c b/ssl/ssl_txt.c index 26dee73bfa..070161021b 100644 --- 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; |