diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2009-04-20 11:33:12 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2009-04-20 11:33:12 +0000 |
commit | 8711efb4984b66a901b543d1b5d96fc5b6928d10 (patch) | |
tree | b50e619056ba3b0b29633e6cd1be98f8a6168134 /ssl/ssl_sess.c | |
parent | e5fa864f62c096536d700d977a5eb924ad293304 (diff) |
Updates from 1.0.0-stable branch.
Diffstat (limited to 'ssl/ssl_sess.c')
-rw-r--r-- | ssl/ssl_sess.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ssl/ssl_sess.c b/ssl/ssl_sess.c index 4c72f18a75..bebbfa099d 100644 --- a/ssl/ssl_sess.c +++ b/ssl/ssl_sess.c @@ -300,6 +300,11 @@ int ssl_get_new_session(SSL *s, int session) ss->ssl_version=TLS1_VERSION; ss->session_id_length=SSL3_SSL_SESSION_ID_LENGTH; } + else if (s->version == DTLS1_BAD_VER) + { + ss->ssl_version=DTLS1_BAD_VER; + ss->session_id_length=SSL3_SSL_SESSION_ID_LENGTH; + } else if (s->version == DTLS1_VERSION) { ss->ssl_version=DTLS1_VERSION; |