Remove useless warning about signature length being shorter than expected.
authorGuus Sliepen <guus@tinc-vpn.org>
Tue, 21 Feb 2012 22:19:51 +0000 (23:19 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Tue, 21 Feb 2012 22:19:51 +0000 (23:19 +0100)
src/openssl/ecdsa.c

index f3640a5..50165e5 100644 (file)
@@ -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;
 }