mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-22 20:01:08 +01:00
libfido2: specify OpenSSL 1.1 API
OPENSSL_API_COMPAT can be used to specify the OpenSSL API version in use for the purpose of hiding deprecated interfaces and enabling the appropriate deprecation notices. This change is a NFC while we're still using OpenSSL 1.1.1 but will avoid deprecation warnings upon the switch to OpenSSL 3.0. A future libfido2 update may switch to use OpenSSL 3.0 APIs. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
c543e09f1f
commit
469c325a49
@ -64,6 +64,7 @@ CFLAGS+= -DHAVE_SYS_RANDOM_H
|
||||
CFLAGS+= -DHAVE_TIMESPECSUB
|
||||
CFLAGS+= -DHAVE_TIMINGSAFE_BCMP
|
||||
CFLAGS+= -DHAVE_UNISTD_H
|
||||
CFLAGS+= -DOPENSSL_API_COMPAT=0x10100000L
|
||||
CFLAGS+= -DTLS=__thread
|
||||
CFLAGS+= -D_FIDO_MAJOR=1
|
||||
CFLAGS+= -D_FIDO_MINOR=10
|
||||
|
Loading…
Reference in New Issue
Block a user