From 8546add6923d783b586ee94e1760f81ffae4e380 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Wed, 26 Dec 2012 14:48:05 +0000 Subject: [PATCH] cert_flags is unsigned (backport from HEAD) --- apps/s_client.c | 2 +- apps/s_server.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.25.1