aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/cert/x509/x509_obj.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-10-10 01:50:46 -0400
committerJack Lloyd <[email protected]>2016-10-10 01:50:46 -0400
commit227d59d886418ace13aa91c1b0dc5fea91efbb4a (patch)
treebdf9579874d66acac518ac53ce1ddcde6fb4d719 /src/lib/cert/x509/x509_obj.h
parent35657e0f76931f0d3a333610e7065c81c35e9f1e (diff)
Add IncludeOS target. Make filesystem support optional.
Diffstat (limited to 'src/lib/cert/x509/x509_obj.h')
-rw-r--r--src/lib/cert/x509/x509_obj.h5
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;