You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Add support for OpenSSL 1.1.0.
This release hides many struct members which provides easier forward compatibility but is a break from previous releases. A few small macros provide compatibility between both 1.1.0 and 1.0.x. Fixes #8624.
This commit is contained in:
@@ -53,7 +53,12 @@ private:
|
||||
static int _bio_gets(BIO *b, char *buf, int len);
|
||||
static int _bio_puts(BIO *b, const char *str);
|
||||
|
||||
#if OPENSSL_VERSION_NUMBER >= 0x10100000L
|
||||
static BIO_METHOD *_bio_method;
|
||||
#else
|
||||
static BIO_METHOD _bio_method;
|
||||
#endif
|
||||
static BIO_METHOD *_get_bio_method();
|
||||
|
||||
static bool _match_host_name(const char *name, const char *hostname);
|
||||
static Error _match_common_name(const char *hostname, const X509 *server_cert);
|
||||
|
||||
Reference in New Issue
Block a user