Snippets for dnsdist 2.1.4 from Alpine x86_64
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-x86_64/community/dnsdist/dnsdist-2.1.4-r0.log.
-
chacha_private.h:53:31: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (17 chars into 16 available) [-Wunterminated-string-initialization] 53 | static const char sigma[16] = "expand 32-byte k"; | ^~~~~~~~~~~~~~~~~~ -
chacha_private.h:54:29: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (17 chars into 16 available) [-Wunterminated-string-initialization] 54 | static const char tau[16] = "expand 16-byte k"; | ^~~~~~~~~~~~~~~~~~ -
libssl.cc:95:86: warning: 'int ENGINE_free(ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 95 | static LockGuarded<std::unordered_map<std::string, std::unique_ptr<ENGINE, decltype(&ENGINE_free)>>> s_engines; | ^~~~~~~~~~~ -
libssl.cc:162:20: warning: 'int ENGINE_finish(ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 162 | ENGINE_finish(engine.get()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ -
libssl.cc:227:51: warning: 'int ENGINE_free(ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 227 | auto engine = std::unique_ptr<ENGINE, decltype(&ENGINE_free)>(ENGINE_by_id(engineName.c_str()), ENGINE_free); | ^~~~~~~~~~~ -
libssl.cc:227:77: warning: 'ENGINE* ENGINE_by_id(const char*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 227 | auto engine = std::unique_ptr<ENGINE, decltype(&ENGINE_free)>(ENGINE_by_id(engineName.c_str()), ENGINE_free); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ -
libssl.cc:227:110: warning: 'int ENGINE_free(ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 227 | auto engine = std::unique_ptr<ENGINE, decltype(&ENGINE_free)>(ENGINE_by_id(engineName.c_str()), ENGINE_free); | ^ -
libssl.cc:232:19: warning: 'int ENGINE_init(ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 232 | if (!ENGINE_init(engine.get())) { | ~~~~~~~~~~~^~~~~~~~~~~~~~ -
libssl.cc:237:34: warning: 'int ENGINE_set_default_string(ENGINE*, const char*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 237 | if (ENGINE_set_default_string(engine.get(), defaultString->c_str()) == 0) { | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~