fix typo: pass pre-computed parameters to the underlying signature function; thanks...
authorNils Larsch <nils@openssl.org>
Mon, 13 Feb 2006 08:22:39 +0000 (08:22 +0000)
committerNils Larsch <nils@openssl.org>
Mon, 13 Feb 2006 08:22:39 +0000 (08:22 +0000)
crypto/ecdsa/ecs_sign.c

index 5143923050297d1a42e2c79d360b3a7d95b0a2c4..74b1fe8caff4d9816a3088dde7627113c1af742f 100644 (file)
@@ -69,7 +69,7 @@ ECDSA_SIG *ECDSA_do_sign_ex(const unsigned char *dgst, int dlen,
        ECDSA_DATA *ecdsa = ecdsa_check(eckey);
        if (ecdsa == NULL)
                return NULL;
-       return ecdsa->meth->ecdsa_do_sign(dgst, dlen, NULL, NULL, eckey);
+       return ecdsa->meth->ecdsa_do_sign(dgst, dlen, kinv, rp, eckey);
 }
 
 int ECDSA_sign(int type, const unsigned char *dgst, int dlen, unsigned char