aboutsummaryrefslogtreecommitdiffstats
path: root/g10/pubkey-enc.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2024-04-12 08:43:12 +0000
committerWerner Koch <[email protected]>2024-04-12 08:43:12 +0000
commit6f94fe01a9e187512300f272ae61ecc0a34454e2 (patch)
treeb6f56f65d863b0370bb2b77178a3b5f28d494192 /g10/pubkey-enc.c
parentgpg: Changed internal data format for Kyber. (diff)
downloadgnupg-6f94fe01a9e187512300f272ae61ecc0a34454e2.tar.gz
gnupg-6f94fe01a9e187512300f272ae61ecc0a34454e2.zip
gpg: Simplify the pk_encrypt function interface.
* g10/pkglue.c (pk_encrypt): Remove superfluous arguments and reanem variable rc to err. * g10/encrypt.c (write_pubkey_enc): Adjust for this change. -- We used to pass PK as well as information which could be taken directly from PK. Using ERR instead of RC is just for more uniform naming of variables.
Diffstat (limited to 'g10/pubkey-enc.c')
0 files changed, 0 insertions, 0 deletions