mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 12:14:38 +02:00
Compiler error
This commit is contained in:
@@ -2364,7 +2364,7 @@ char* wolfSSL_i2s_ASN1_STRING(WOLFSSL_v3_ext_method *method,
|
|||||||
}
|
}
|
||||||
/* Handle 0 length data separately. */
|
/* Handle 0 length data separately. */
|
||||||
else if (s->length == 0) {
|
else if (s->length == 0) {
|
||||||
ret = XMALLOC(1, NULL, DYNAMIC_TYPE_TMP_BUFFER);
|
ret = (char *)XMALLOC(1, NULL, DYNAMIC_TYPE_TMP_BUFFER);
|
||||||
if (ret != NULL) {
|
if (ret != NULL) {
|
||||||
ret[0] = '\0';
|
ret[0] = '\0';
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user