diff options
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/crypto/cryptosign.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/svl/source/crypto/cryptosign.cxx b/svl/source/crypto/cryptosign.cxx index 7d3096d637a3..fc53be7078a0 100644 --- a/svl/source/crypto/cryptosign.cxx +++ b/svl/source/crypto/cryptosign.cxx @@ -877,6 +877,8 @@ namespace svl { namespace crypto { +#if defined(SVL_CRYPTO_NSS) || defined(SVL_CRYPTO_MSCRYPTO) + bool Signing::Sign(OStringBuffer& rCMSHexBuffer) { // Create the PKCS#7 object. @@ -1647,6 +1649,13 @@ bool Signing::Sign(OStringBuffer& rCMSHexBuffer) return true; #endif } +#else +bool Signing::Sign(OStringBuffer&) +{ + return false; +} +#endif //!SVL_CRYPTO_NSS && !SVL_CRYPTO_MSCRYPTO + namespace { |