diff options
author | Jack Lloyd <[email protected]> | 2016-10-10 01:50:46 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-10-10 01:50:46 -0400 |
commit | 227d59d886418ace13aa91c1b0dc5fea91efbb4a (patch) | |
tree | bdf9579874d66acac518ac53ce1ddcde6fb4d719 /src/lib/pubkey/x509_key.cpp | |
parent | 35657e0f76931f0d3a333610e7065c81c35e9f1e (diff) |
Add IncludeOS target. Make filesystem support optional.
Diffstat (limited to 'src/lib/pubkey/x509_key.cpp')
-rw-r--r-- | src/lib/pubkey/x509_key.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/pubkey/x509_key.cpp b/src/lib/pubkey/x509_key.cpp index ccb94cea7..08e17bfed 100644 --- a/src/lib/pubkey/x509_key.cpp +++ b/src/lib/pubkey/x509_key.cpp @@ -78,6 +78,7 @@ Public_Key* load_key(DataSource& source) } } +#if defined(BOTAN_TARGET_OS_HAS_FILESYSTEM) /* * Extract a public key and return it */ @@ -86,6 +87,7 @@ Public_Key* load_key(const std::string& fsname) DataSource_Stream source(fsname, true); return X509::load_key(source); } +#endif /* * Extract a public key and return it |