VirtualBox

Changeset 59694 in vbox


Ignore:
Timestamp:
Feb 15, 2016 10:36:15 PM (9 years ago)
Author:
vboxsync
Message:

backed out previous commit

Location:
trunk/src/VBox/Runtime/common/crypto
Files:
2 edited

Legend:

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

    r59693 r59694  
    113113static const uint8_t g_abSha224[] =
    114114{/* {          {          2.16.840.1.101.3.4.2.4 (SHA-224),                       NULL },    hash octet-string } */
    115     0x30,0x2d, 0x30,0x0d, 0x06,0x09,0x60,0x86,0x48,0x01,0x65,0x03,0x04,0x02,0x04, 0x05,0x00, 0x04,0x1c
     115    0x30,0x21, 0x30,0x0d, 0x06,0x09,0x60,0x86,0x48,0x01,0x65,0x03,0x04,0x02,0x04, 0x05,0x00, 0x04,0x14
    116116};
    117117/** @} */
  • trunk/src/VBox/Runtime/common/crypto/pkix-verify.cpp

    r59693 r59694  
    3939# include "internal/iprt-openssl.h"
    4040# include "openssl/evp.h"
    41 # ifndef OPENSSL_VERSION_NUMBER
    42 #  error "Missing OPENSSL_VERSION_NUMBER!"
    43 # endif
    4441#endif
    4542
     
    230227    RTCrPkixSignatureRelease(hSignature);
    231228
    232 #if defined(IPRT_WITH_OPENSSL) \
    233   && (OPENSSL_VERSION_NUMBER > 0x10000000L) /* 0.9.8 doesn't seem to have EVP_PKEY_CTX_set_signature_md. */
     229#ifdef IPRT_WITH_OPENSSL
    234230    /*
    235231     * Validate using OpenSSL EVP.
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