aboutsummaryrefslogtreecommitdiffstats
path: root/mpi/mpi-mpow.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2003-12-10 14:57:38 +0000
committerDavid Shaw <[email protected]>2003-12-10 14:57:38 +0000
commitc6f07b53b25e7e3b7633b9c808a464ebab04b1f2 (patch)
treecb6e04b31510c263b77b3218aec47387ff8a0941 /mpi/mpi-mpow.c
parent* gpg.sgml: Fix a few missing semicolons in & entities. Noted by (diff)
downloadgnupg-c6f07b53b25e7e3b7633b9c808a464ebab04b1f2.tar.gz
gnupg-c6f07b53b25e7e3b7633b9c808a464ebab04b1f2.zip
* getkey.c (get_pubkey_fast): This one is sort of obscure. get_pubkey_fast
returns the primary key when requesting a subkey, so if a user has a key signed by a subkey (we don't do this, but used to), AND that key is not self-signed, AND the algorithm of the subkey in question is not present in GnuPG, AND the algorithm of the primary key that owns the subkey in question is present in GnuPG, then we will try and verify the subkey signature using the primary key algorithm and hit a BUG(). The fix is to not return a hit if the keyid is not the primary. All other users of get_pubkey_fast already expect a primary only.
Diffstat (limited to 'mpi/mpi-mpow.c')
0 files changed, 0 insertions, 0 deletions