diff options
Diffstat (limited to 'src/lib/cert/x509/x509_obj.h')
-rw-r--r-- | src/lib/cert/x509/x509_obj.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/cert/x509/x509_obj.h b/src/lib/cert/x509/x509_obj.h index eb929451c..c3e4ca830 100644 --- a/src/lib/cert/x509/x509_obj.h +++ b/src/lib/cert/x509/x509_obj.h @@ -88,9 +88,12 @@ class BOTAN_DLL X509_Object : public ASN1_Object virtual ~X509_Object() {} protected: X509_Object(DataSource& src, const std::string& pem_labels); - X509_Object(const std::string& file, const std::string& pem_labels); X509_Object(const std::vector<byte>& vec, const std::string& labels); +#if defined(BOTAN_TARGET_OS_HAS_FILESYSTEM) + X509_Object(const std::string& file, const std::string& pem_labels); +#endif + void do_decode(); X509_Object() {} AlgorithmIdentifier m_sig_algo; |