Remove useless warning about signature length being shorter than expected.
[tinc] / 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;
 }