diff options
author | Werner Koch <[email protected]> | 2024-04-12 08:43:12 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2024-04-12 08:43:12 +0000 |
commit | 6f94fe01a9e187512300f272ae61ecc0a34454e2 (patch) | |
tree | b6f56f65d863b0370bb2b77178a3b5f28d494192 /g10/gpg.c | |
parent | gpg: Changed internal data format for Kyber. (diff) | |
download | gnupg-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/gpg.c')
0 files changed, 0 insertions, 0 deletions