mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
* options.h, g10.c (main), main.h, seskey.c (do_encode_md,
encode_md_value), sig-check.c (do_check), sign.c (do_sign): Remove --emulate-md-encode-bug as it only applied to Elgamal signatures, which are going away.
This commit is contained in:
parent
a32a3a863e
commit
3c40fd65d6
7 changed files with 18 additions and 35 deletions
|
@ -334,7 +334,7 @@ do_sign( PKT_secret_key *sk, PKT_signature *sig,
|
|||
else
|
||||
{
|
||||
frame = encode_md_value( sk->pubkey_algo, md,
|
||||
digest_algo, mpi_get_nbits(sk->skey[0]), 0 );
|
||||
digest_algo, mpi_get_nbits(sk->skey[0]) );
|
||||
if (!frame)
|
||||
return G10ERR_GENERAL;
|
||||
rc = pubkey_sign( sk->pubkey_algo, sig->data, frame, sk->skey );
|
||||
|
@ -352,7 +352,7 @@ do_sign( PKT_secret_key *sk, PKT_signature *sig,
|
|||
else {
|
||||
frame = encode_md_value (pk->pubkey_algo, md,
|
||||
sig->digest_algo,
|
||||
mpi_get_nbits(pk->pkey[0]), 0);
|
||||
mpi_get_nbits(pk->pkey[0]) );
|
||||
if (!frame)
|
||||
rc = G10ERR_GENERAL;
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue