summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2012-12-26 14:48:05 +0000
committerDr. Stephen Henson <steve@openssl.org>2012-12-26 14:48:05 +0000
commit8546add6923d783b586ee94e1760f81ffae4e380 (patch)
treeb8989dd6001c18e4560a698672b5523475aa415b /apps
parentaa5c5eb4c1c0471fe5a739766f92d026cb790528 (diff)
cert_flags is unsigned
(backport from HEAD)
Diffstat (limited to 'apps')
-rw-r--r--apps/s_client.c2
-rw-r--r--apps/s_server.c2
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;