fix signed/unsigned warning

This commit is contained in:
Dr. Stephen Henson 2011-09-26 17:04:41 +00:00
parent e53113b8ac
commit 928bd9a149

View file

@ -1065,7 +1065,7 @@ long SSL_ctrl(SSL *s,int cmd,long larg,void *parg)
s->max_cert_list=larg;
return(l);
case SSL_CTRL_SET_MTU:
if (larg < dtls1_min_mtu())
if (larg < (long)dtls1_min_mtu())
return 0;
if (SSL_version(s) == DTLS1_VERSION ||