浏览代码

package/poco: requires DES support in openssl

Fix the following build failure raised since commit
a83d41867c8d69a77d5cd0a665aa216af5340359:

src/EVPPKey.cpp:161:52: error: 'EVP_des_ede3_cbc' was not declared in this scope; did you mean 'SN_des_ede3_cbc'?
  161 |      rc = PEM_write_bio_PrivateKey(bio, _pEVPPKey, EVP_des_ede3_cbc(),
      |                                                    ^~~~~~~~~~~~~~~~
      |                                                    SN_des_ede3_cbc

Fixes:
 - http://autobuild.buildroot.org/results/eddcba8e74c23ea041f2d95de57196107f5af8a3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Fabrice Fontaine 3 年之前
父节点
当前提交
046cde5a27
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      package/poco/Config.in

+ 1 - 0
package/poco/Config.in

@@ -45,6 +45,7 @@ config BR2_PACKAGE_POCO_NET
 config BR2_PACKAGE_POCO_CRYPTO
 	bool "crypto"
 	select BR2_PACKAGE_OPENSSL
+	select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL
 
 config BR2_PACKAGE_POCO_NETSSL_OPENSSL
 	bool "netssl_openssl"