VirtualBox

Changeset 104757 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
May 22, 2024 12:14:16 PM (8 months ago)
Author:
vboxsync
Message:

IPRT: RTCrX509Certificate_GenerateSelfSignedRsa build fix for OpenSSL 1.0.x. [2nd try] bugref:10310

File:
1 edited

Legend:

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

    r104755 r104757  
    5454# include <openssl/bio.h>
    5555# include "internal/openssl-post.h"
     56
     57# if OPENSSL_VERSION_NUMBER < 0x1010000f
     58#  define BIO_s_secmem      BIO_s_mem
     59# endif
    5660
    5761
     
    170174                 */
    171175                /* The certificate (not security sensitive). */
    172 # if OPENSSL_VERSION_NUMBER >= 0x1010000f
    173176                BIO * const pCertBio = BIO_new(BIO_s_mem());
    174 # else
    175                 BIO * const pCertBio = BIO_new(BIO_s_mem());
    176 # endif
    177177                if (pCertBio)
    178178                {
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