From bcd83686c3daed38974d1f9b533c07d35c5a7476 Mon Sep 17 00:00:00 2001 From: lloyd Date: Mon, 3 Nov 2014 22:16:51 +0000 Subject: Various small fixes and cleanups, new is_prime util --- src/lib/cert/x509/x509_ext.cpp | 2 ++ src/lib/cert/x509/x509path.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src/lib/cert') diff --git a/src/lib/cert/x509/x509_ext.cpp b/src/lib/cert/x509/x509_ext.cpp index f56014ab7..db43ab175 100644 --- a/src/lib/cert/x509/x509_ext.cpp +++ b/src/lib/cert/x509/x509_ext.cpp @@ -63,6 +63,8 @@ Extensions& Extensions::operator=(const Extensions& other) std::make_pair(other.extensions[i].first->copy(), other.extensions[i].second)); + m_throw_on_unknown_critical = other.m_throw_on_unknown_critical; + return (*this); } diff --git a/src/lib/cert/x509/x509path.h b/src/lib/cert/x509/x509path.h index f7e57759e..05ed43a2e 100644 --- a/src/lib/cert/x509/x509path.h +++ b/src/lib/cert/x509/x509path.h @@ -122,7 +122,7 @@ class BOTAN_DLL Path_Validation_Result Path_Validation_Result(Certificate_Status_Code status) : m_overall(status) {} private: - friend Path_Validation_Result x509_path_validate( + friend Path_Validation_Result BOTAN_DLL x509_path_validate( const std::vector& end_certs, const Path_Validation_Restrictions& restrictions, const std::vector& certstores); -- cgit v1.2.3