From: Dr. Stephen Henson Date: Mon, 26 Sep 2011 17:04:41 +0000 (+0000) Subject: fix signed/unsigned warning X-Git-Tag: OpenSSL_1_0_1-beta1~143 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=928bd9a149bcf8631925ddb716d8a5ef21b7cb4b;p=oweals%2Fopenssl.git fix signed/unsigned warning --- diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index da7576648f..4ebdde2fa3 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -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 ||