summaryrefslogtreecommitdiffstats
path: root/crypto/x509v3/v3_ia5.c
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>1999-04-20 22:50:42 +0000
committerUlf Möller <ulf@openssl.org>1999-04-20 22:50:42 +0000
commit95dc05bc6d0dfe0f3f3681f5e27afbc3f7a35eea (patch)
tree6bdbca71df2722da6b3c27c8cc2a0b00115edaa9 /crypto/x509v3/v3_ia5.c
parentf36cd05b22a587e552c97797b54fd07bc0762446 (diff)
Fix lots of warnings.
Submitted by: Richard Levitte <levitte@stacken.kth.se>
Diffstat (limited to 'crypto/x509v3/v3_ia5.c')
-rw-r--r--crypto/x509v3/v3_ia5.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/x509v3/v3_ia5.c b/crypto/x509v3/v3_ia5.c
index f4042915f0..d590bef0ac 100644
--- a/crypto/x509v3/v3_ia5.c
+++ b/crypto/x509v3/v3_ia5.c
@@ -110,7 +110,8 @@ static ASN1_IA5STRING *s2i_ASN1_IA5STRING(X509V3_EXT_METHOD *method,
return NULL;
}
if(!(ia5 = ASN1_IA5STRING_new())) goto err;
- if(!ASN1_STRING_set((ASN1_STRING *)ia5, str, strlen(str))) {
+ if(!ASN1_STRING_set((ASN1_STRING *)ia5, (unsigned char*)str,
+ strlen(str))) {
ASN1_IA5STRING_free(ia5);
goto err;
}