diff options
Diffstat (limited to 'dev-db/mysql-connector-c/files/6.1.11-openssl-1.1.patch')
-rw-r--r-- | dev-db/mysql-connector-c/files/6.1.11-openssl-1.1.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-db/mysql-connector-c/files/6.1.11-openssl-1.1.patch b/dev-db/mysql-connector-c/files/6.1.11-openssl-1.1.patch index cbca14de60b6..40e23019269a 100644 --- a/dev-db/mysql-connector-c/files/6.1.11-openssl-1.1.patch +++ b/dev-db/mysql-connector-c/files/6.1.11-openssl-1.1.patch @@ -199,6 +199,19 @@ index 5622cb7..94b0f09 100644 vio_delete(vio); } +@@ -427,7 +427,12 @@ + for (j = 0; j < n; j++) + { + SSL_COMP *c = sk_SSL_COMP_value(ssl_comp_methods, j); ++#if OPENSSL_VERSION_NUMBER < 0x10100000L + DBUG_PRINT("info", (" %d: %s\n", c->id, c->name)); ++#else /* OPENSSL_VERSION_NUMBER < 0x10100000L */ ++ DBUG_PRINT("info", ++ (" %d: %s\n", SSL_COMP_get_id(c), SSL_COMP_get0_name(c))); ++#endif /* OPENSSL_VERSION_NUMBER < 0x10100000L */ + } + } + #endif diff --git a/vio/viosslfactories.c b/vio/viosslfactories.c index da5449a..87b30c3 100644 --- a/vio/viosslfactories.c |