diff options
Diffstat (limited to 'src/lib/cert/x509/pkcs10.cpp')
-rw-r--r-- | src/lib/cert/x509/pkcs10.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/cert/x509/pkcs10.cpp b/src/lib/cert/x509/pkcs10.cpp index 40a9894cc..ccd22454b 100644 --- a/src/lib/cert/x509/pkcs10.cpp +++ b/src/lib/cert/x509/pkcs10.cpp @@ -25,14 +25,16 @@ PKCS10_Request::PKCS10_Request(DataSource& in) : do_decode(); } +#if defined(BOTAN_TARGET_OS_HAS_FILESYSTEM) /* * PKCS10_Request Constructor */ -PKCS10_Request::PKCS10_Request(const std::string& in) : - X509_Object(in, "CERTIFICATE REQUEST/NEW CERTIFICATE REQUEST") +PKCS10_Request::PKCS10_Request(const std::string& fsname) : + X509_Object(fsname, "CERTIFICATE REQUEST/NEW CERTIFICATE REQUEST") { do_decode(); } +#endif /* * PKCS10_Request Constructor |