diff options
author | Jack Lloyd <[email protected]> | 2016-10-12 16:25:19 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-10-12 16:25:19 -0400 |
commit | 60fc0ebf44e746b17d46a9d53054064808476495 (patch) | |
tree | 27a90a6574a7ba05e6a55b334ac28fbcf4a80877 /src/lib/cert/x509/x509cert.h | |
parent | 7a40d6c03012bde4e06d65b92bf06ccab2b73d93 (diff) |
More no-filesystem fixes
Diffstat (limited to 'src/lib/cert/x509/x509cert.h')
-rw-r--r-- | src/lib/cert/x509/x509cert.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/cert/x509/x509cert.h b/src/lib/cert/x509/x509cert.h index d64d8fd2b..c7ce8aaa1 100644 --- a/src/lib/cert/x509/x509cert.h +++ b/src/lib/cert/x509/x509cert.h @@ -265,12 +265,14 @@ class BOTAN_DLL X509_Certificate : public X509_Object */ explicit X509_Certificate(DataSource& source); +#if defined(BOTAN_TARGET_OS_HAS_FILESYSTEM) /** * Create a certificate from a file containing the DER or PEM * encoded certificate. * @param filename the name of the certificate file */ explicit X509_Certificate(const std::string& filename); +#endif explicit X509_Certificate(const std::vector<byte>& in); |