summaryrefslogtreecommitdiff
path: root/security/libfido2/files/extra-patch-openssl
blob: 6cab9adce02d2d5e26cd2d19d04cc3bcf0688cc3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- CMakeLists.txt.orig	2022-01-17 12:42:03 UTC
+++ CMakeLists.txt
@@ -196,14 +196,10 @@ if(MSVC)
 else()
 	include(FindPkgConfig)
 	pkg_search_module(CBOR libcbor)
-	pkg_search_module(CRYPTO libcrypto)
 	pkg_search_module(ZLIB zlib)
 
 	if(NOT CBOR_FOUND AND NOT HAVE_CBOR_H)
 		message(FATAL_ERROR "could not find libcbor")
-	endif()
-	if(NOT CRYPTO_FOUND AND NOT HAVE_OPENSSLV_H)
-		message(FATAL_ERROR "could not find libcrypto")
 	endif()
 	if(NOT ZLIB_FOUND)
 		message(FATAL_ERROR "could not find zlib")
--- src/libfido2.pc.in.orig	2022-01-17 12:42:03 UTC
+++ src/libfido2.pc.in
@@ -7,6 +7,5 @@ Name: @PROJECT_NAME@
 Description: A FIDO2 library
 URL: https://github.com/yubico/libfido2
 Version: @FIDO_VERSION@
-Requires: libcrypto
 Libs: -L${libdir} -lfido2
 Cflags: -I${includedir}