summaryrefslogtreecommitdiff
path: root/gtests/ssl_gtest/tls_protect.h
diff options
context:
space:
mode:
authorFranziskus Kiefer <franziskuskiefer@gmail.com>2017-10-02 14:45:49 +0200
committerFranziskus Kiefer <franziskuskiefer@gmail.com>2017-10-02 14:45:49 +0200
commitce8dffe0a811977a27412a5b93ce64c888c96241 (patch)
treecf1ac0cae848260bb77ecd6fb5791efca6cfaee3 /gtests/ssl_gtest/tls_protect.h
parent0b7c6d5be40edeb36dbf7b18db725d47966abc90 (diff)
downloadnss-hg-ce8dffe0a811977a27412a5b93ce64c888c96241.tar.gz
Bug 1404911 - make AEAD destructor virtual, r=mt
Differential Revision: https://phabricator.services.mozilla.com/D90
Diffstat (limited to 'gtests/ssl_gtest/tls_protect.h')
-rw-r--r--gtests/ssl_gtest/tls_protect.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtests/ssl_gtest/tls_protect.h b/gtests/ssl_gtest/tls_protect.h
index 4efbd6e6b..9b38680bc 100644
--- a/gtests/ssl_gtest/tls_protect.h
+++ b/gtests/ssl_gtest/tls_protect.h
@@ -20,7 +20,7 @@ class TlsRecordHeader;
class AeadCipher {
public:
AeadCipher(CK_MECHANISM_TYPE mech) : mech_(mech), key_(nullptr) {}
- ~AeadCipher();
+ virtual ~AeadCipher();
bool Init(PK11SymKey *key, const uint8_t *iv);
virtual bool Aead(bool decrypt, uint64_t seq, const uint8_t *in, size_t inlen,