VirtualBox

Changeset 63868 in vbox for trunk/src/VBox/RDP


Ignore:
Timestamp:
Sep 16, 2016 1:23:03 PM (8 years ago)
Author:
vboxsync
Message:

RDP/client: TLSv1_client_method() deprecated but don't complain

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/RDP/client-1.8.3/tcp.c

    r55123 r63868  
    320320        if (g_ssl_ctx == NULL)
    321321        {
     322#ifdef __GNUC__
     323# if (__GNUC__ << 16) + __GNUC_MINOR__ >= 0x406
     324#  pragma GCC diagnostic push
     325#  pragma GCC diagnostic ignored "-Wdeprecated-declarations"
     326# endif
     327#endif
    322328                g_ssl_ctx = SSL_CTX_new(TLSv1_client_method());
     329#ifdef __GNUC__
     330# if (__GNUC__ << 16) + __GNUC_MINOR__ >= 0x406
     331#  pragma GCC diagnostic pop
     332# endif
     333#endif
    323334                if (g_ssl_ctx == NULL)
    324335                {
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