VirtualBox

Changeset 65819 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Feb 20, 2017 5:34:58 PM (8 years ago)
Author:
vboxsync
Message:

rdesktop: only need the RT initialization if we use the OpenSSL functions from VBoxRT (which use RT synchronization)

File:
1 edited

Legend:

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

    r65817 r65819  
    4444
    4545#ifdef VBOX
    46 # include <iprt/initterm.h>
     46# ifdef OPENSSL_MANGLER
     47#  include <iprt/initterm.h>
     48# endif
    4749# include <VBox/version.h>
    4850# include <iprt/log.h>
     
    585587#endif
    586588
    587 #ifdef VBOX
     589#if defined(VBOX) && defined(OPENSSL_MANGLER)
     590    /* Only need RT initialization if building against OpenSSL using
     591     * RT synchronization, standalone rdesktop doesn't need this. */
    588592    RTR3InitExe(argc, &argv, 0);
    589593#endif
     
    12471251                }
    12481252
    1249                 /* By setting encryption to False here, we have an encrypted login 
     1253                /* By setting encryption to False here, we have an encrypted login
    12501254                   packet but unencrypted transfer of other packets */
    12511255                if (!g_packet_encryption)
     
    18261830        sec_hash_to_string(hash, sizeof(hash), ho, sizeof(ho));
    18271831
    1828         /* write licence to {sha1}.cal.new, then atomically 
     1832        /* write licence to {sha1}.cal.new, then atomically
    18291833           rename to {sha1}.cal */
    18301834        snprintf(path, PATH_MAX, "%s" RDESKTOP_LICENSE_STORE "/%s.cal", home, hash);
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