-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for BIO_read/write_ex; Update MySQL CI to 8.4; (#1568)
MySQL 8.4 has been released, this updates our CI to run against the latest version. This time we only need two missing APIs from OpenSSL. * `BIO_read_ex` * `BIO_write_ex` ### MySQL CI changes: * Removed disabled tests were removed from mysql's test suite, so I removed them from `mysql_run_tests` * Original patch needed to be updated, new patch is needed for `int` to `size_t` mismatch for `BIO_pending`. I considered switching our `BIO_pending` to `int` instead, but our version has been using the `size_t` signature for a decade now, so this doesn't seem easily convertible. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.
- Loading branch information
1 parent
2dc5184
commit 8ae155b
Showing
7 changed files
with
139 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
diff --git a/router/src/openssl/include/tls/details/ssl_operation.h b/router/src/openssl/include/tls/details/ssl_operation.h | ||
index 44b980d3e4..bdf79319f2 100644 | ||
--- a/router/src/openssl/include/tls/details/ssl_operation.h | ||
+++ b/router/src/openssl/include/tls/details/ssl_operation.h | ||
@@ -91,7 +91,11 @@ class Operation { | ||
|
||
BIO *bio_; | ||
SSL *ssl_; | ||
+#if defined (OPENSSL_IS_AWSLC) | ||
+ size_t pending_; | ||
+#else | ||
int pending_; | ||
+#endif | ||
}; | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters