svl/source/crypto/cryptosign.cxx | 9 +++++++++ 1 file changed, 9 insertions(+)
New commits: commit 846f557fd591626931a9dadb38180786e090104c Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Mon Jul 17 01:04:16 2017 -0400 svl: fix Android build Change-Id: Ice5bd4da242297d61392dd7a7e557e0182394125 Reviewed-on: https://gerrit.libreoffice.org/40031 Reviewed-by: Ashod Nakashian <ashnak...@gmail.com> Tested-by: Ashod Nakashian <ashnak...@gmail.com> 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 { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits