Lines 55-61
static void spice_channel_reset_capabili
Link Here
|
55 |
static void spice_channel_send_migration_handshake(SpiceChannel *channel); |
55 |
static void spice_channel_send_migration_handshake(SpiceChannel *channel); |
56 |
static gboolean channel_connect(SpiceChannel *channel, gboolean tls); |
56 |
static gboolean channel_connect(SpiceChannel *channel, gboolean tls); |
57 |
|
57 |
|
58 |
#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER) |
58 |
#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L) |
59 |
static RSA *EVP_PKEY_get0_RSA(EVP_PKEY *pkey) |
59 |
static RSA *EVP_PKEY_get0_RSA(EVP_PKEY *pkey) |
60 |
{ |
60 |
{ |
61 |
if (pkey->type != EVP_PKEY_RSA) { |
61 |
if (pkey->type != EVP_PKEY_RSA) { |