parent
352946ffee
commit
abaf07109b
|
@ -196,7 +196,7 @@ int wolfCLU_genKey_ECC(RNG* rng, char* fName, int directive, int fmt,
|
|||
XMEMSET(fOutNameBuf, 0, fNameSz + fExtSz);
|
||||
XMEMCPY(fOutNameBuf, fName, fNameSz);
|
||||
|
||||
derBuf = XMALLOC(maxDerBufSz, HEAP_HINT, DYNAMIC_TYPE_TMP_BUFFER);
|
||||
derBuf = (byte*) XMALLOC(maxDerBufSz, HEAP_HINT, DYNAMIC_TYPE_TMP_BUFFER);
|
||||
if (derBuf == NULL) {
|
||||
XFREE(fOutNameBuf, HEAP_HINT, DYNAMIC_TYPE_TMP_BUFFER);
|
||||
return MEMORY_E;
|
||||
|
|
Loading…
Reference in New Issue