mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 20:24:39 +02:00
Synchronous Quick Assist Support for Sniffer
1. Add missing deinitializers for the QAT as the sniffer exits.
This commit is contained in:
@@ -623,6 +623,14 @@ void ssl_FreeSniffer(void)
|
|||||||
wc_FreeMutex(&SessionMutex);
|
wc_FreeMutex(&SessionMutex);
|
||||||
wc_FreeMutex(&ServerListMutex);
|
wc_FreeMutex(&ServerListMutex);
|
||||||
|
|
||||||
|
#ifdef WOLF_CRYPTO_CB
|
||||||
|
#ifdef HAVE_INTEL_QA_SYNC
|
||||||
|
wc_CryptoCb_UnRegisterDevice(CryptoDeviceId);
|
||||||
|
IntelQaClose(&CryptoDevice);
|
||||||
|
IntelQaDeInit(CryptoDeviceId);
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
if (TraceFile) {
|
if (TraceFile) {
|
||||||
TraceOn = 0;
|
TraceOn = 0;
|
||||||
fclose(TraceFile);
|
fclose(TraceFile);
|
||||||
|
Reference in New Issue
Block a user