aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/asn1/a_mbstr.c
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>1999-10-23 09:19:42 +0000
committerBen Laurie <ben@openssl.org>1999-10-23 09:19:42 +0000
commitcbb448c9457cbd17dc58cf4bcae23dda261a3934 (patch)
tree908bd352f19cc3b64e552a83b02a7fd990dc9df6 /crypto/asn1/a_mbstr.c
parent462f79ec44fb9259c48be448b231df3073c000d9 (diff)
downloadopenssl-cbb448c9457cbd17dc58cf4bcae23dda261a3934.tar.gz
Don't return stuff from void functions.
Diffstat (limited to 'crypto/asn1/a_mbstr.c')
-rw-r--r--crypto/asn1/a_mbstr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/asn1/a_mbstr.c b/crypto/asn1/a_mbstr.c
index b83e3ee35e..260c1aff0d 100644
--- a/crypto/asn1/a_mbstr.c
+++ b/crypto/asn1/a_mbstr.c
@@ -87,8 +87,8 @@ int ASN1_mbstring_copy(ASN1_STRING **out, unsigned char *in, int len,
ASN1_STRING *dest;
unsigned char *p;
int nchar;
- int (*cpyfunc)(unsigned long value, void *in) = NULL;
- if(len == -1) len = strlen(in);
+ int (*cpyfunc)(unsigned long value, void *in_) = NULL;
+ if(len == -1) len = strlen((const char *)in);
/* First do a string check and work out the number of characters */
switch(inform) {