forked from wolfSSL/wolfssl
Fix for XMALLOC cast.
This commit is contained in:
@ -1322,7 +1322,7 @@ static int _SaveDerAndPem(const byte* der, int derSz,
|
|||||||
if (pemSz < 0) {
|
if (pemSz < 0) {
|
||||||
return pemSz;
|
return pemSz;
|
||||||
}
|
}
|
||||||
pem = XMALLOC(pemSz, HEAP_HINT, DYNAMIC_TYPE_TMP_BUFFER);
|
pem = (byte*)XMALLOC(pemSz, HEAP_HINT, DYNAMIC_TYPE_TMP_BUFFER);
|
||||||
if (pem == NULL) {
|
if (pem == NULL) {
|
||||||
return MEMORY_E;
|
return MEMORY_E;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user