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 d88b52f289561771377bc03fd73fe7a7cfee2a11..ac1c92e15adab466fafe81b5131b403315bd29d8 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 ||