summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>2017-07-17 01:04:16 -0400
committerAshod Nakashian <ashnakash@gmail.com>2017-07-17 07:14:25 +0200
commit846f557fd591626931a9dadb38180786e090104c (patch)
tree6ef36c64ea934a8d8b242526eb804fb9cee483bb /svl
parentd8a6996f1118b5697cc8b2842bf90c46e423a9ae (diff)
svl: fix Android build
Change-Id: Ice5bd4da242297d61392dd7a7e557e0182394125 Reviewed-on: https://gerrit.libreoffice.org/40031 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
Diffstat (limited to 'svl')
-rw-r--r--svl/source/crypto/cryptosign.cxx9
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
{