summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2017-07-17 08:07:02 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-07-17 08:07:02 +0200
commitd0264b0748b16d63fdd213a9b9e826ced2dc42f2 (patch)
tree4a74030bfdc65ca050374d962782a0f90583ce6f /svl
parentdb3860062ebf4109f48139c2556ff4041aff5d6e (diff)
svl: fixup Android build fix
Change-Id: I9f4b09ba48cd14e3cdd9cbd126d81f4b40bdb04b
Diffstat (limited to 'svl')
-rw-r--r--svl/source/crypto/cryptosign.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/svl/source/crypto/cryptosign.cxx b/svl/source/crypto/cryptosign.cxx
index fc53be7078a0..daaaa3c18413 100644
--- a/svl/source/crypto/cryptosign.cxx
+++ b/svl/source/crypto/cryptosign.cxx
@@ -72,6 +72,7 @@ using namespace com::sun::star;
namespace {
+#if HAVE_FEATURE_NSS
void appendHex( sal_Int8 nInt, OStringBuffer& rBuffer )
{
static const sal_Char pHexDigits[] = { '0', '1', '2', '3', '4', '5', '6', '7',
@@ -79,6 +80,7 @@ void appendHex( sal_Int8 nInt, OStringBuffer& rBuffer )
rBuffer.append( pHexDigits[ (nInt >> 4) & 15 ] );
rBuffer.append( pHexDigits[ nInt & 15 ] );
}
+#endif // HAVE_FEATURE_NSS
#if HAVE_FEATURE_NSS && !defined(_WIN32)
@@ -2282,10 +2284,9 @@ bool Signing::Verify(SvStream& rStream,
// Not implemented.
(void)rStream;
(void)aByteRanges;
- (void)bNonDetected;
+ (void)bNonDetached;
(void)aSignature;
(void)rInformation;
-static_assert(false, "WHAT!!!");
return false;
#endif
}