fix typo: pass pre-computed parameters to the underlying signature function; thanks to Lucas Newman

This commit is contained in:
Nils Larsch 2006-02-13 08:16:00 +00:00
parent 21e8bbf290
commit 0c9caf04de

View 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