diff options
Diffstat (limited to 'crypto/x509v3/v3_ia5.c')
-rw-r--r-- | crypto/x509v3/v3_ia5.c | 3 |
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; } |