Added missing POLARSSL_ECDSA_DETERMINISTIC around ecdsa_write_signature_det()
diff --git a/library/ecdsa.c b/library/ecdsa.c
index 9f697a1..b208755 100644
--- a/library/ecdsa.c
+++ b/library/ecdsa.c
@@ -295,7 +295,8 @@
 
     return( ret );
 }
-#endif
+#endif /* POLARSSL_ECDSA_DETERMINISTIC */
+
 /*
  * Verify ECDSA signature of hashed message (SEC1 4.1.4)
  * Obviously, compared to SEC1 4.1.3, we skip step 2 (hash message)
@@ -447,6 +448,7 @@
     return( ecdsa_signature_to_asn1( ctx, sig, slen ) );
 }
 
+#if defined(POLARSSL_ECDSA_DETERMINISTIC)
 /*
  * Compute and write signature deterministically
  */
@@ -465,6 +467,7 @@
 
     return( ecdsa_signature_to_asn1( ctx, sig, slen ) );
 }
+#endif /* POLARSSL_ECDSA_DETERMINISTIC */
 
 /*
  * Read and check signature