navigation: remove deprecated package
[AGL/meta-agl-demo.git] / recipes-demo-hmi / navigation / navigation / 0002-openssl-1.1-fixes.patch
diff --git a/recipes-demo-hmi/navigation/navigation/0002-openssl-1.1-fixes.patch b/recipes-demo-hmi/navigation/navigation/0002-openssl-1.1-fixes.patch
deleted file mode 100644 (file)
index 9506ce1..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-gpsnavi: Fix compilation with OpenSSL 1.1
-
-Handle the ERR_load_crypto_strings and ERR_free_strings functions no
-longer being present in OpenSSL 1.1.
-
-Signed-off-by: Scott Murray <scott.murray@konsulko.com>
-
-diff --git a/src/sms/sms-core/SMCAL/SMCAL.c b/src/sms/sms-core/SMCAL/SMCAL.c
-index eadab8f..2dfe1f3 100755
---- a/src/sms/sms-core/SMCAL/SMCAL.c
-+++ b/src/sms/sms-core/SMCAL/SMCAL.c
-@@ -158,7 +158,9 @@ void SC_CAL_Initialize_OpenSSL() {
-       // 初期化\r
-       ERR_load_BIO_strings();\r
-       SSL_load_error_strings();\r
-+#if OPENSSL_VERSION_NUMBER < 0x10100000L\r
-       ERR_load_crypto_strings();\r
-+#endif\r
-       OpenSSL_add_all_algorithms();\r
\r
-       // SSLの初期化(戻り値は常に1)\r
-@@ -542,7 +544,9 @@ E_SC_CAL_RESULT SC_CAL_DisConnect(SMCAL *cal)
-                       if (NULL != cal->ssl.ctx) {\r
-                               SSL_CTX_free((SSL_CTX*)cal->ssl.ctx);\r
-                       }\r
-+#if OPENSSL_VERSION_NUMBER < 0x10100000L\r
-                       ERR_free_strings();\r
-+#endif\r
\r
-                       cal->ssl.ssl = NULL;\r
-                       cal->ssl.ctx = NULL;\r