diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2008-07-04 23:12:52 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2008-07-04 23:12:52 +0000 |
commit | d4cdbab99b8ead6ae2462d6b452f8b2462ca8733 (patch) | |
tree | 293758bf967241b3621e2cc8af8d52907c06ff07 /crypto/x509v3/v3_utl.c | |
parent | 5f834ab123af6444b7cffe21849e434ad6479f8a (diff) |
Avoid warnings with -pedantic, specifically:
Conversion between void * and function pointer.
Value computed not used.
Signed/unsigned argument.
Diffstat (limited to 'crypto/x509v3/v3_utl.c')
-rw-r--r-- | crypto/x509v3/v3_utl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509v3/v3_utl.c b/crypto/x509v3/v3_utl.c index d3d12d261f..7f1fc8fa0b 100644 --- a/crypto/x509v3/v3_utl.c +++ b/crypto/x509v3/v3_utl.c @@ -554,7 +554,7 @@ static int append_ia5(STACK_OF(STRING) **sk, ASN1_IA5STRING *email) if(!*sk) return 0; /* Don't add duplicates */ if(sk_STRING_find(*sk, (char *)email->data) != -1) return 1; - emtmp = BUF_strdup(email->data); + emtmp = BUF_strdup((char *)email->data); if(!emtmp || !sk_STRING_push(*sk, emtmp)) { X509_email_free(*sk); *sk = NULL; |