diff options
author | Ulf Möller <ulf@openssl.org> | 1999-04-20 22:50:42 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 1999-04-20 22:50:42 +0000 |
commit | 95dc05bc6d0dfe0f3f3681f5e27afbc3f7a35eea (patch) | |
tree | 6bdbca71df2722da6b3c27c8cc2a0b00115edaa9 /crypto/x509v3/v3_alt.c | |
parent | f36cd05b22a587e552c97797b54fd07bc0762446 (diff) |
Fix lots of warnings.
Submitted by: Richard Levitte <levitte@stacken.kth.se>
Diffstat (limited to 'crypto/x509v3/v3_alt.c')
-rw-r--r-- | crypto/x509v3/v3_alt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/x509v3/v3_alt.c b/crypto/x509v3/v3_alt.c index e9bfad8025..3823339650 100644 --- a/crypto/x509v3/v3_alt.c +++ b/crypto/x509v3/v3_alt.c @@ -392,7 +392,8 @@ if(!name_cmp(name, "email")) { if(is_string) { if(!(gen->d.ia5 = ASN1_IA5STRING_new()) || - !ASN1_STRING_set(gen->d.ia5, value, strlen(value))) { + !ASN1_STRING_set(gen->d.ia5, (unsigned char*)value, + strlen(value))) { X509V3err(X509V3_F_V2I_GENERAL_NAME,ERR_R_MALLOC_FAILURE); goto err; } |