[webkit-changes] [WebKit/WebKit] a27e73: [OpenSSL] Simplify OpenSSLCryptoUniquePtr
Philippe Normand
noreply at github.com
Sat Sep 17 03:10:04 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a27e73ffa27ddbf4e61d34eb3a532259c0381bed
https://github.com/WebKit/WebKit/commit/a27e73ffa27ddbf4e61d34eb3a532259c0381bed
Author: Philippe Normand <philn at igalia.com>
Date: 2022-09-17 (Sat, 17 Sep 2022)
Changed paths:
M Source/WebCore/crypto/openssl/OpenSSLCryptoUniquePtr.h
Log Message:
-----------
[OpenSSL] Simplify OpenSSLCryptoUniquePtr
https://bugs.webkit.org/show_bug.cgi?id=245027
Reviewed by Michael Catanzaro.
Use a macro to generate unique_ptr deleters and aliases. Also this patch adds smart pointers for
OpenSSL 3 `OSSL_PARAM_BLD` and `OSSL_PARAM` types, those will be used later on by the GstWebRTC
backend.
The OpenSSL WebCrypto port to OpenSSL 3 shall be handled in
https://bugs.webkit.org/show_bug.cgi?id=245146.
* Source/WebCore/crypto/openssl/OpenSSLCryptoUniquePtr.h:
(WebCore::OpenSSLCryptoPtrDeleter<EVP_CIPHER_CTX>::operator() const): Deleted.
(WebCore::OpenSSLCryptoPtrDeleter<EVP_MD_CTX>::operator() const): Deleted.
(WebCore::OpenSSLCryptoPtrDeleter<EVP_PKEY>::operator() const): Deleted.
(WebCore::OpenSSLCryptoPtrDeleter<EVP_PKEY_CTX>::operator() const): Deleted.
(WebCore::OpenSSLCryptoPtrDeleter<RSA>::operator() const): Deleted.
(WebCore::OpenSSLCryptoPtrDeleter<EC_KEY>::operator() const): Deleted.
(WebCore::OpenSSLCryptoPtrDeleter<EC_POINT>::operator() const): Deleted.
(WebCore::OpenSSLCryptoPtrDeleter<HMAC_CTX>::operator() const): Deleted.
(WebCore::OpenSSLCryptoPtrDeleter<PKCS8_PRIV_KEY_INFO>::operator() const): Deleted.
(WebCore::OpenSSLCryptoPtrDeleter<BIGNUM>::operator() const): Deleted.
(WebCore::OpenSSLCryptoPtrDeleter<BN_CTX>::operator() const): Deleted.
(WebCore::OpenSSLCryptoPtrDeleter<ECDSA_SIG>::operator() const): Deleted.
(WebCore::OpenSSLCryptoPtrDeleter<ASN1_SEQUENCE_ANY>::operator() const): Deleted.
Canonical link: https://commits.webkit.org/254587@main
More information about the webkit-changes
mailing list