diff options
Diffstat (limited to 'lib/pluginloader')
-rw-r--r-- | lib/pluginloader/Kconfig | 26 | ||||
-rw-r--r-- | lib/pluginloader/pluginloader.cpp | 2 |
2 files changed, 1 insertions, 27 deletions
diff --git a/lib/pluginloader/Kconfig b/lib/pluginloader/Kconfig deleted file mode 100644 index 28a3b73..0000000 --- a/lib/pluginloader/Kconfig +++ /dev/null @@ -1,26 +0,0 @@ -config USEPLUGINS - bool "Enable plugins" - default y - -menu "Plugin Settings" - depends on USEPLUGINS - - choice PLUGIN_SIGNATURE_CHECK - bool "Plugin Signature enforcement" - default PLUGIN_SIGNATURE_CHECKED - - config PLUGIN_SIGNATURE_IGNORED - bool "Don't check plugin signatures" - - config PLUGIN_SIGNATURE_CHECKED - bool "Don't load plugins with invalid signatures" - - config PLUGIN_SIGNATURE_ENFORCED - bool "Only load plugins with valid signatures" - - endchoice - - config PLUGIN_SIGNATURE_HASH - string "Hashing algorithm used by the signature" - default "SHA256" -endmenu diff --git a/lib/pluginloader/pluginloader.cpp b/lib/pluginloader/pluginloader.cpp index f47c39e..ef17513 100644 --- a/lib/pluginloader/pluginloader.cpp +++ b/lib/pluginloader/pluginloader.cpp @@ -56,7 +56,7 @@ PluginLoader::VerifyState PluginLoader::verify(const char *hashName) const if(rc != 1) return SignatureComputeFailed; } - delete buf; + delete[] buf; plugin.close(); // read signature into DigestVerifyFinal |