fix signed/unsigned warning
authorDr. Stephen Henson <steve@openssl.org>
Mon, 26 Sep 2011 17:05:00 +0000 (17:05 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 26 Sep 2011 17:05:00 +0000 (17:05 +0000)
ssl/ssl_lib.c

index d88b52f..ac1c92e 100644 (file)
@@ -1000,7 +1000,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 ||