From: Guus Sliepen Date: Tue, 21 Feb 2012 22:19:51 +0000 (+0100) Subject: Remove useless warning about signature length being shorter than expected. X-Git-Tag: import-tinc-1.1~404 X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=fba1c85f44edfc56c19d35332b1eb825179a8bb6;p=meshlink Remove useless warning about signature length being shorter than expected. --- diff --git a/src/openssl/ecdsa.c b/src/openssl/ecdsa.c index f3640a50..50165e59 100644 --- a/src/openssl/ecdsa.c +++ b/src/openssl/ecdsa.c @@ -97,10 +97,6 @@ bool ecdsa_sign(ecdsa_t *ecdsa, const void *in, size_t len, void *sig) { return false; } - if(siglen != ECDSA_size(*ecdsa)) { - logger(LOG_ERR, "Signature length %d != %d", siglen, ECDSA_size(*ecdsa)); - } - return true; }