VirtualBox

Changeset 73665 in vbox for trunk/src/VBox/Main/src-server


Ignore:
Timestamp:
Aug 14, 2018 5:49:23 PM (6 years ago)
Author:
vboxsync
Message:

IPRT,SUP,Main: Working on new crypto key handling and rsa signing. bugref:9152

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/ApplianceImplImport.cpp

    r73132 r73665  
    17291729                   API will do the verification twice, once using IPRT's own crypto
    17301730                   and once using OpenSSL.  Both must OK it for success.) */
    1731                 vrc = RTCrPkixPubKeyVerifySignedDigest(&m->SignerCert.TbsCertificate.SubjectPublicKeyInfo.Algorithm.Algorithm,
    1732                                                        &m->SignerCert.TbsCertificate.SubjectPublicKeyInfo.Algorithm.Parameters,
    1733                                                        &m->SignerCert.TbsCertificate.SubjectPublicKeyInfo.SubjectPublicKey,
    1734                                                        m->pbSignedDigest, m->cbSignedDigest, hDigest,
    1735                                                        RTErrInfoInitStatic(&StaticErrInfo));
     1731                vrc = RTCrPkixPubKeyVerifySignedDigestByCertPubKeyInfo(&m->SignerCert.TbsCertificate.SubjectPublicKeyInfo,
     1732                                                                       m->pbSignedDigest, m->cbSignedDigest, hDigest,
     1733                                                                       RTErrInfoInitStatic(&StaticErrInfo));
    17361734                if (RT_SUCCESS(vrc))
    17371735                {
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