Skip to content

Commit 255f382

Browse files
X
Signed-off-by: Andreas Fuchs <andreas.fuchs@infineon.com>
1 parent 505e885 commit 255f382

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/tss2-fapi/ifapi_curl.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,18 @@
99
#include <openssl/obj_mac.h> // for NID_crl_distribution_points, NID_info...
1010
#include <openssl/pem.h> // for PEM_read_bio_X509
1111
#include <openssl/safestack.h> // for STACK_OF
12-
#include <openssl/types.h> // for X509, ASN1_IA5STRING, X509_CRL, DIST_...
1312
#include <openssl/x509.h> // for X509_free, X509_STORE_add_cert, X509_...
1413
#include <openssl/x509v3.h> // for DIST_POINT_NAME, GENERAL_NAME, ACCESS...
1514
#include <stdbool.h> // for bool, false, true
1615
#include <stdlib.h> // for free, realloc
1716
#include <string.h> // for memcpy, strdup, strlen
1817

18+
#if OPENSSL_VERSION_NUMBER < 0x30000000L
19+
#include <openssl/aes.h>
20+
#else
21+
#include <openssl/types.h> // for X509, ASN1_IA5STRING, X509_CRL, DIST_...
22+
#endif
23+
1924
#include "fapi_certificates.h" // for root_cert_list
2025
#include "fapi_int.h" // for OSSL_FREE
2126
#include "ifapi_curl.h"

0 commit comments

Comments
 (0)