cert_flags is unsigned
authorDr. Stephen Henson <steve@openssl.org>
Wed, 26 Dec 2012 14:48:05 +0000 (14:48 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 26 Dec 2012 14:48:05 +0000 (14:48 +0000)
(backport from HEAD)

apps/s_client.c
apps/s_server.c

index 6c8035850c91f42b13b60d84a029c0be66de305f..f8469f87c7ffea6a46b7778ce7dea417ab367666 100644 (file)
@@ -557,7 +557,7 @@ int MAIN(int, char **);
 int MAIN(int argc, char **argv)
        {
        unsigned int off=0, clr=0;
-       int cert_flags=0;
+       unsigned int cert_flags=0;
        SSL *con=NULL;
 #ifndef OPENSSL_NO_KRB5
        KSSL_CTX *kctx;
index 03c214c2c825d32a7654054045f1cd74d1a32214..4b07cb0f0725fc8ad2ed810310d7f8d40eb307db 100644 (file)
@@ -950,7 +950,7 @@ int MAIN(int argc, char *argv[])
        int badop=0,bugs=0;
        int ret=1;
        int off=0;
-       int cert_flags = 0;
+       unsigned int cert_flags = 0;
        int no_tmp_rsa=0,no_dhe=0,no_ecdhe=0,nocert=0;
        int state=0;
        const SSL_METHOD *meth=NULL;