From eadda3f3ad3cce8843ec89038dadf2d77df2df5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Fri, 3 Apr 2015 13:14:48 +0200 Subject: [PATCH] Add missing #ifdef in ecdsa.c --- library/ecdsa.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/ecdsa.c b/library/ecdsa.c index 57f80358c..b4cdfca27 100644 --- a/library/ecdsa.c +++ b/library/ecdsa.c @@ -342,7 +342,8 @@ cleanup: return( ret ); } -#if ! defined(POLARSSL_DEPRECATED_REMOVED) +#if ! defined(POLARSSL_DEPRECATED_REMOVED) && \ + defined(POLARSSL_ECDSA_DETERMINISTIC) int ecdsa_write_signature_det( ecdsa_context *ctx, const unsigned char *hash, size_t hlen, unsigned char *sig, size_t *slen,