Use openssl3 67/312167/1 accepted/tizen/unified/20240605.153158 accepted/tizen/unified/dev/20240620.000218 accepted/tizen/unified/toolchain/20240624.121249 accepted/tizen/unified/x/20240612.025849 accepted/tizen/unified/x/asan/20240625.091847
authorDongsun Lee <ds73.lee@samsung.com>
Tue, 4 Jun 2024 08:29:31 +0000 (17:29 +0900)
committerDong Sun Lee <ds73.lee@samsung.com>
Wed, 5 Jun 2024 01:24:13 +0000 (01:24 +0000)
- The libwebsockets uses openssl3.
- To use openssl3, we need to supress depricated warnings.

Change-Id: I75273768d69b6bd4590bac9fada877b6ec381ae0
(cherry picked from commit 053847f00fdc8f99b70deace49de8f1914840f6c)

CMakeLists.txt
packaging/webauthn-ble.spec

index fb375f73f27da24e522f250fdc1e4db5452592eb..57e16985889c93789d4787a716eb4f65e646e78c 100644 (file)
@@ -69,6 +69,8 @@ PKG_CHECK_MODULES(OPENSSL11_DEP openssl1.1)
 IF (OPENSSL11_DEP_FOUND MATCHES 1)
     ADD_DEFINITIONS("-DOPENSSL11")
     SET(OPENSSL_DEP openssl1.1)
+ELSE (OPENSSL11_DEP_FOUND MATCHES 1)
+    ADD_DEFINITIONS("-Wno-deprecated-declarations")
 ENDIF (OPENSSL11_DEP_FOUND MATCHES 1)
 
 ############################ Set Common Variables #############################
index 00642c73fbd88685652aed56278cf91c60da90f6..a542badf95b57da215570423e9c312aace6bfce1 100644 (file)
@@ -5,7 +5,7 @@
 %global version_patch   1
 %global version_release 1
 
-%global force_openssl11 1
+%global force_openssl11 0
 
 Name:    webauthn-ble
 Summary: Adaptation Layer of Web Authentication Service for BLE Authenticator