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