mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 03:34: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(&ServerListMutex);
|
||||
|
||||
#ifdef WOLF_CRYPTO_CB
|
||||
#ifdef HAVE_INTEL_QA_SYNC
|
||||
wc_CryptoCb_UnRegisterDevice(CryptoDeviceId);
|
||||
IntelQaClose(&CryptoDevice);
|
||||
IntelQaDeInit(CryptoDeviceId);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
if (TraceFile) {
|
||||
TraceOn = 0;
|
||||
fclose(TraceFile);
|
||||
|
Reference in New Issue
Block a user