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_lib.c | |
parent | e5fa864f62c096536d700d977a5eb924ad293304 (diff) |
Updates from 1.0.0-stable branch.
Diffstat (limited to 'ssl/ssl_lib.c')
-rw-r--r-- | ssl/ssl_lib.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index 24cd4268e4..f305bc7b36 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -1038,7 +1038,8 @@ long SSL_ctrl(SSL *s,int cmd,long larg,void *parg) s->max_cert_list=larg; return(l); case SSL_CTRL_SET_MTU: - if (SSL_version(s) == DTLS1_VERSION) + if (SSL_version(s) == DTLS1_VERSION || + SSL_version(s) == DTLS1_BAD_VER) { s->d1->mtu = larg; return larg; |