Fix Debian 8 and Leap_42.1 builds
Older versions of openssl 1.0.0 don't have X509_STORE_CTX_get0_store so define that as well. Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
This commit is contained in:
parent
f065bb5705
commit
8e184454fd
1 changed files with 3 additions and 0 deletions
|
@ -62,6 +62,9 @@
|
|||
#define X509_STORE_CTX_get0_cert(ctx) ((ctx)->cert)
|
||||
#define X509_STORE_get0_objects(certs) ((certs)->objs)
|
||||
#define X509_get_extended_key_usage(cert) ((cert)->ex_xkusage)
|
||||
#if OPENSSL_VERSION_NUMBER < 0x10020000L
|
||||
#define X509_STORE_CTX_get0_store(ctx) ((ctx)->ctx)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
static const char *toolname = "sbverify";
|
||||
|
|
Loading…
Reference in a new issue