mirror of https://github.com/wolfSSL/wolfssl.git
OCSP callback: call embed free
Leaks memory if not called. Configuration: ./configure --disable-shared --enable-ocsp --enable-sni C_EXTRA_FLAGS="-DWOLFSSL_NONBLOCK_OCSP" Leaking test: valgrind ./examples/client/client -X -C -h www.globalsign.com -p 443 -A certs/external/ca-globalsign-root.pem -g -o -N -v d -S www.globalsign.compull/3524/head
parent
84a9e16805
commit
40154d69cf
|
@ -1592,8 +1592,7 @@ static WC_INLINE int OCSPIOCb(void* ioCtx, const char* url, int urlSz,
|
|||
|
||||
static WC_INLINE void OCSPRespFreeCb(void* ioCtx, unsigned char* response)
|
||||
{
|
||||
(void)ioCtx;
|
||||
(void)response;
|
||||
return EmbedOcspRespFree(ioCtx, response);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue