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:
2447884
)
Fix for builds without DTLS support.
author
Bodo Möller
<bodo@openssl.org>
Thu, 5 Jan 2012 10:21:49 +0000
(10:21 +0000)
committer
Bodo Möller
<bodo@openssl.org>
Thu, 5 Jan 2012 10:21:49 +0000
(10:21 +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 ac1c92e15adab466fafe81b5131b403315bd29d8..23de3151bf632ce783a6b567d36da620204510e9 100644
(file)
--- a/
ssl/ssl_lib.c
+++ b/
ssl/ssl_lib.c
@@
-1000,8
+1000,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)