mirror of
https://github.com/chris2511/xca.git
synced 2026-09-14 11:06:19 +05:00
slightly different syntax for VC++
This commit is contained in:
parent
7a0aa8818c
commit
a92c464896
@ -200,7 +200,7 @@ void pki_key::fromData(unsigned char *p, int size )
|
||||
memcpy(sik, pdec, decsize);
|
||||
if (key->type == EVP_PKEY_RSA) {
|
||||
#if OPENSSL_VERSION_NUMBER >= 0x0090700fL
|
||||
rsakey = d2i_RSAPrivateKey(NULL, &(const unsigned char *)pdec, decsize);
|
||||
rsakey = d2i_RSAPrivateKey(NULL, (const unsigned char **)&pdec, decsize);
|
||||
#else
|
||||
rsakey = d2i_RSAPrivateKey(NULL, &pdec, decsize);
|
||||
#endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user