VirtualBox

Changeset 94668 in vbox for trunk/src


Ignore:
Timestamp:
Apr 21, 2022 1:55:27 PM (3 years ago)
Author:
vboxsync
Message:

Runtime/crypto: Add additional APIs and supported algorithms for symmetric enc-/decryption, ​bugref:9955 [build fix for older openssl versions]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/crypto/cipher-openssl.cpp

    r94665 r94668  
    5050*   Defined Constants And Macros                                                                                                 *
    5151*********************************************************************************************************************************/
    52 #if OPENSSL_VERSION_NUMBER > 0x10002000
     52#if defined(EVP_CTRL_AEAD_GET_TAG)
    5353# define MY_EVP_CTRL_AEAD_GET_TAG EVP_CTRL_AEAD_GET_TAG
    5454#else
     
    5656#endif
    5757
    58 #if OPENSSL_VERSION_NUMBER > 0x10002000
     58#if defined(EVP_CTRL_AEAD_SET_TAG)
    5959# define MY_EVP_CTRL_AEAD_SET_TAG EVP_CTRL_AEAD_SET_TAG
    6060#else
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