tpm2: Also include openssl/ecdsa.h for older openssl versions

Older OpenSSL versions had the ECDSA headers in openssl/ecdsa.h, so
include this file as well.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
This commit is contained in:
Stefan Berger 2019-06-04 12:26:02 -04:00 committed by Stefan Berger
parent 55f5988781
commit d175ee918b

View File

@ -71,6 +71,9 @@
#include <openssl/evp.h>
#include <openssl/ec.h>
#include <openssl/bn.h>
#if USE_OPENSSL_FUNCTIONS_ECDSA // libtpms added begin
#include <openssl/ecdsa.h>
#endif // libtpms added end
/* B.2.2.2.2. Macros and Defines */
/* Make sure that the library is using the correct size for a crypt word */
#if !(defined THIRTY_TWO_BIT || defined SIXTY_FOUR_BIT || defined SIXTY_FOUR_BIT_LONG)