VirtualBox

Changeset 104573 in vbox


Ignore:
Timestamp:
May 10, 2024 7:23:34 AM (7 months ago)
Author:
vboxsync
Message:

Added OS specific changes for making TLS default and auto-generating a certificate - bugref:10310

File:
1 edited

Legend:

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

    r104572 r104573  
    5353# endif
    5454
    55 #include <fcntl.h>
     55# if defined(RT_OS_WINDOWS) || defined(RT_OS_OS2)
     56#  include <fcntl.h>
     57# endif
    5658#include <iprt/err.h>
    5759#include <iprt/string.h>
     
    6264# include <openssl/x509.h>
    6365# include <openssl/bio.h>
     66
     67#if defined(RT_OS_OS2) && !defined(RTSTREAM_STANDALONE)
     68# define _O_WRONLY   O_WRONLY
     69#endif
    6470
    6571RTDECL(int) RTCrX509Certificate_Generate(const char *pszServerCertificate, const char *pszServerPrivateKey)
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