summaryrefslogtreecommitdiffstats
path: root/crypto/x509v3/v3_utl.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2008-07-04 23:12:52 +0000
committerDr. Stephen Henson <steve@openssl.org>2008-07-04 23:12:52 +0000
commitd4cdbab99b8ead6ae2462d6b452f8b2462ca8733 (patch)
tree293758bf967241b3621e2cc8af8d52907c06ff07 /crypto/x509v3/v3_utl.c
parent5f834ab123af6444b7cffe21849e434ad6479f8a (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.c2
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;