aboutsummaryrefslogtreecommitdiffstats
path: root/src/asn1helpers.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/asn1helpers.c')
-rw-r--r--src/asn1helpers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/asn1helpers.c b/src/asn1helpers.c
index 638cdb6..8ce9bf4 100644
--- a/src/asn1helpers.c
+++ b/src/asn1helpers.c
@@ -73,7 +73,7 @@ int BIT_STRING_fromBuf(BIT_STRING_t *st, const uint8_t *str, unsigned int bit_le
}
if (len < 0)
- len = strlen(str);
+ len = strlen((char*)str);
buf = MALLOC(len);
if (!buf) {