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:
59e6861
)
Fix for builds without DTLS support.
author
Bodo Möller
<bodo@openssl.org>
Thu, 5 Jan 2012 10:22:41 +0000
(10:22 +0000)
committer
Bodo Möller
<bodo@openssl.org>
Thu, 5 Jan 2012 10:22:41 +0000
(10:22 +0000)
Submitted by: Brian Carlstrom
ssl/ssl_lib.c
patch
|
blob
|
history
diff --git
a/ssl/ssl_lib.c
b/ssl/ssl_lib.c
index df784479aab4d7a359551b5faa88015198dfc9d0..906fcd44117e018774f7a88c2258c5e85339eba3 100644
(file)
--- a/
ssl/ssl_lib.c
+++ b/
ssl/ssl_lib.c
@@
-1081,8
+1081,10
@@
long SSL_ctrl(SSL *s,int cmd,long larg,void *parg)
s->max_cert_list=larg;
return(l);
case SSL_CTRL_SET_MTU:
+#ifndef OPENSSL_NO_DTLS1
if (larg < (long)dtls1_min_mtu())
return 0;
+#endif
if (SSL_version(s) == DTLS1_VERSION ||
SSL_version(s) == DTLS1_BAD_VER)