fix typo: pass pre-computed parameters to the underlying signature function; thanks...
[openssl.git] / 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;
        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 
 }
 
 int ECDSA_sign(int type, const unsigned char *dgst, int dlen, unsigned char