mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
support 0.9.7 too
This commit is contained in:
parent
db0d629076
commit
9b35958d4c
@ -2355,9 +2355,11 @@ check_signatures() {
|
|||||||
CertChain chain;
|
CertChain chain;
|
||||||
EVP_PKEY *pkey = NULL;
|
EVP_PKEY *pkey = NULL;
|
||||||
if (!buffer.empty()) {
|
if (!buffer.empty()) {
|
||||||
#ifdef OPENSSL_097
|
#if OPENSSL_VERSION_NUMBER >= 0x00908000L
|
||||||
|
// Beginning in 0.9.8, d2i_X509() accepted a const unsigned char **.
|
||||||
const unsigned char *bp, *bp_end;
|
const unsigned char *bp, *bp_end;
|
||||||
#else
|
#else
|
||||||
|
// Prior to 0.9.8, d2i_X509() accepted an unsigned char **.
|
||||||
unsigned char *bp, *bp_end;
|
unsigned char *bp, *bp_end;
|
||||||
#endif
|
#endif
|
||||||
bp = (unsigned char *)&buffer[0];
|
bp = (unsigned char *)&buffer[0];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user