From 398a5baf703cc404989578ddcdf8457658cde2f4 Mon Sep 17 00:00:00 2001 From: Julian Brost Date: Thu, 20 May 2021 14:25:59 +0200 Subject: [PATCH] Remove unused function declarations in tlsutility.hpp These were introduced in c510fe4dfed0f65824bb259433faa0988caa2447, probably when resolving a merge conflict. However, these functions do not exist in 2.11, but refer to the Array type which is not included in the header, leading to non-unity build failing. This commit simply removes these declarations and thus restores non-unity builds in 2.11. --- lib/base/tlsutility.hpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/base/tlsutility.hpp b/lib/base/tlsutility.hpp index 579231864..88bf64cc9 100644 --- a/lib/base/tlsutility.hpp +++ b/lib/base/tlsutility.hpp @@ -49,10 +49,6 @@ String SHA256(const String& s); String RandomString(int length); bool VerifyCertificate(const std::shared_ptr& caCertificate, const std::shared_ptr& certificate, const String& crlFile); -bool IsCa(const std::shared_ptr& cacert); -int GetCertificateVersion(const std::shared_ptr& cert); -String GetSignatureAlgorithm(const std::shared_ptr& cert); -Array::Ptr GetSubjectAltNames(const std::shared_ptr& cert); class openssl_error : virtual public std::exception, virtual public boost::exception { };