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

index 5143923..74b1fe8 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