From 928bd9a149bcf8631925ddb716d8a5ef21b7cb4b Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Mon, 26 Sep 2011 17:04:41 +0000 Subject: [PATCH] fix signed/unsigned warning --- ssl/ssl_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 || -- 2.25.1