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 f3640a505b343cc96dc57b80dee6104a5fd1e858..50165e5973a396cdc87b2f099b270927dbe5afb5 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;
 }