summaryrefslogtreecommitdiffstats
path: root/crypto/asn1
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/asn1')
-rw-r--r--crypto/asn1/a_strex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/a_strex.c b/crypto/asn1/a_strex.c
index 9839f5c76e..1bc06799af 100644
--- a/crypto/asn1/a_strex.c
+++ b/crypto/asn1/a_strex.c
@@ -601,7 +601,7 @@ int asn1_valid_host(const ASN1_STRING *host)
const unsigned char *hostptr = host->data;
int type = host->type;
int i;
- char width = -1;
+ signed char width = -1;
unsigned short chflags = 0, prevchflags;
if (type > 0 && type < 31)