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; s->max_cert_list=larg;
return(l); return(l);
case SSL_CTRL_SET_MTU: case SSL_CTRL_SET_MTU:
if (larg < dtls1_min_mtu()) if (larg < (long)dtls1_min_mtu())
return 0; return 0;
if (SSL_version(s) == DTLS1_VERSION || if (SSL_version(s) == DTLS1_VERSION ||