mirror of
https://github.com/stefanberger/libtpms
synced 2026-08-10 08:52:10 +00:00
tpm12: libtpms on OpenBSD no longer builds with OPENSSL_OLD_API.
Signed-off-by: Moritz Buhl <mbuhl@openbsd.org>
This commit is contained in:
parent
5a0be228c4
commit
d2d3ca3b48
@ -135,9 +135,7 @@ static TPM_RESULT TPM_SymmetricKeyData_Crypt(unsigned char *data_out,
|
||||
|
||||
#include <openssl/aes.h>
|
||||
|
||||
#if defined(__OpenBSD__)
|
||||
# define OPENSSL_OLD_API
|
||||
#elif OPENSSL_VERSION_NUMBER < 0x10100000
|
||||
#if OPENSSL_VERSION_NUMBER < 0x10100000
|
||||
#define OPENSSL_OLD_API
|
||||
#endif
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user