This is an automated email from the ASF dual-hosted git repository.
zwoop pushed a commit to branch 9.2.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/9.2.x by this push:
new 876b1e8d5 Make magick plugin buildable with BoringSSL (#9554)
876b1e8d5 is described below
commit 876b1e8d52a0fab8ebbf9bfef023b23f2dc937fa
Author: Masakazu Kitajo <[email protected]>
AuthorDate: Thu Mar 23 13:00:21 2023 -0600
Make magick plugin buildable with BoringSSL (#9554)
(cherry picked from commit 33fb7dbe99171ac74b04f689f321142041ee5ada)
---
plugins/experimental/magick/magick.cc | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/plugins/experimental/magick/magick.cc
b/plugins/experimental/magick/magick.cc
index 24cd0f584..9aa0bd28a 100644
--- a/plugins/experimental/magick/magick.cc
+++ b/plugins/experimental/magick/magick.cc
@@ -184,20 +184,13 @@ struct EVPKey {
EVPKey() : key(EVP_PKEY_new()) { assert(nullptr != key); }
bool
- assign(char *k) const
+ assign(RSA *k) const
{
assert(nullptr != k);
const int rc = EVP_PKEY_assign_RSA(key, k);
assert(1 == rc);
return 1 == rc;
}
-
- template <typename T>
- bool
- assign(T &t)
- {
- return assign(reinterpret_cast<char *>(t));
- }
};
bool