fixup! Fix OpenSSL error, wrong initialization order.

This commit is contained in:
Jan Vidar Krey 2019-04-24 10:50:31 +02:00
parent 9762b9389d
commit 891adb84fb
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ static const SSL_METHOD* get_ssl_method(const char* tls_version, long* flags)
#if OPENSSL_VERSION_NUMBER >= 0x10100000L #if OPENSSL_VERSION_NUMBER >= 0x10100000L
return TLS_method(); return TLS_method();
#else #else
#error "Unknown OpenSSL version!" #error "Unknown OpenSSL version!" # OPENSSL_VERSION_NUMBER
#endif #endif
} }