VirtualBox

Ignore:
Timestamp:
May 10, 2020 12:52:05 AM (5 years ago)
Author:
vboxsync
Message:

IPRT,openssl: Adding RTCrPkcs7SimpleSignSignedData as a feeble start at PKCS#7/CMS signing. bugref:9699

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/crypto/pkix-sign.cpp

    r82968 r84230  
    155155    EVP_PKEY     *pEvpPrivateKey = NULL;
    156156    const EVP_MD *pEvpMdType = NULL;
    157     int rcOssl = rtCrKeyToOpenSslKey(hPrivateKey, false /*fNeedPublic*/, pszAlgObjId,
    158                                      (void **)&pEvpPrivateKey, (const void **)&pEvpMdType, pErrInfo);
     157    int rcOssl = rtCrKeyToOpenSslKeyEx(hPrivateKey, false /*fNeedPublic*/, pszAlgObjId,
     158                                       (void **)&pEvpPrivateKey, (const void **)&pEvpMdType, pErrInfo);
    159159    if (RT_SUCCESS(rcOssl))
    160160    {
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette