tpm12: add missing openssl includes

This fixes the build with LibreSSL 3.9.0 where many implicit
declarations for BN_, EVP_ and RSA_ functions occur which were
implicitly included before.

Signed-off-by: orbea <orbea@riseup.net>
This commit is contained in:
orbea 2024-03-13 10:01:49 -07:00 committed by Stefan Berger
parent 87691f7a71
commit 93a827aecc

View File

@ -48,6 +48,8 @@
#include <openssl/rand.h>
#include <openssl/sha.h>
#include <openssl/engine.h>
#include <openssl/evp.h>
#include <openssl/rsa.h>
#include "tpm_cryptoh.h"
#include "tpm_debug.h"