mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
support 0.9.7 too
This commit is contained in:
parent
db0d629076
commit
9b35958d4c
@ -2355,9 +2355,11 @@ check_signatures() {
|
||||
CertChain chain;
|
||||
EVP_PKEY *pkey = NULL;
|
||||
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;
|
||||
#else
|
||||
// Prior to 0.9.8, d2i_X509() accepted an unsigned char **.
|
||||
unsigned char *bp, *bp_end;
|
||||
#endif
|
||||
bp = (unsigned char *)&buffer[0];
|
||||
|
Loading…
x
Reference in New Issue
Block a user