From: Dr. Stephen Henson Date: Wed, 26 Dec 2012 14:48:05 +0000 (+0000) Subject: cert_flags is unsigned X-Git-Tag: OpenSSL_1_0_2-beta1~516 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8546add6923d783b586ee94e1760f81ffae4e380;p=openssl cert_flags is unsigned (backport from HEAD) --- diff --git a/apps/s_client.c b/apps/s_client.c index 6c8035850c..f8469f87c7 100644 --- a/apps/s_client.c +++ b/apps/s_client.c @@ -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; diff --git a/apps/s_server.c b/apps/s_server.c index 03c214c2c8..4b07cb0f07 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -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;