Changeset 84235 in vbox for trunk/src/VBox/Runtime/common/crypto
- Timestamp:
- May 10, 2020 1:04:47 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/crypto/pkcs7-sign.cpp
r84232 r84235 91 91 *pcbResult = 0; 92 92 AssertReturn(!(fFlags & ~RTCRPKCS7SIGN_SD_F_VALID_MASK), VERR_INVALID_FLAGS); 93 #if defined(IPRT_WITH_OPENSSL) && (OPENSSL_VERSION_NUMBER > 0x10000000L) /* 0.9.8 doesn't seem to have EVP_PKEY_CTX_set_signature_md. */93 #if defined(IPRT_WITH_OPENSSL) 94 94 AssertReturn((int)cbData >= 0 && (unsigned)cbData == cbData, VERR_TOO_MUCH_DATA); 95 95 … … 119 119 * Create a BIO for the data buffer. 120 120 */ 121 BIO *pOsslData = BIO_new_mem_buf( pvData, (int)cbData);121 BIO *pOsslData = BIO_new_mem_buf((void *)pvData, (int)cbData); 122 122 if (pOsslData) 123 123 {
Note:
See TracChangeset
for help on using the changeset viewer.