| 113 | } |
| 114 | |
| 115 | Hash::~Hash() |
| 116 | { |
| 117 | #if defined(USBGUARD_USE_OPENSSL) |
| 118 | #if OPENSSL_VERSION_NUMBER >= 0x10100000L |
| 119 | EVP_MD_CTX_free(_state); |
| 120 | #else |
| 121 | EVP_MD_CTX_destroy(_state); |
| 122 | #endif |
| 123 | #endif |
| 124 | release(); |
| 125 | } |
| 126 | |
| 127 | void Hash::release() |
| 128 | { |
nothing calls this directly
no outgoing calls
no test coverage detected