diff --git a/src/node_crypto.cc b/src/node_crypto.cc index 8b3aa470a48e27..e5ea611eeb6d99 100644 --- a/src/node_crypto.cc +++ b/src/node_crypto.cc @@ -4837,6 +4837,7 @@ class KeyPairGenerationConfig { virtual bool Configure(const EVPKeyCtxPointer& ctx) { return true; } + virtual ~KeyPairGenerationConfig() {} }; class RSAKeyPairGenerationConfig : public KeyPairGenerationConfig {