1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

gpg: Rename a function.

* g10/cipher.c (cipher_filter): Rename to cipher_file_cfb.
This commit is contained in:
Werner Koch 2022-08-29 13:13:45 +02:00
parent 5b24c41ba7
commit 15cf36f6a8
No known key found for this signature in database
GPG key ID: E3FDFF218E45B72B
5 changed files with 10 additions and 9 deletions

View file

@ -119,7 +119,8 @@ write_header (cipher_filter_context_t *cfx, iobuf_t a)
* This filter is used to en/de-cipher data with a symmetric algorithm
*/
int
cipher_filter (void *opaque, int control, iobuf_t a, byte *buf, size_t *ret_len)
cipher_filter_cfb (void *opaque, int control,
iobuf_t a, byte *buf, size_t *ret_len)
{
cipher_filter_context_t *cfx = opaque;
size_t size = *ret_len;
@ -179,7 +180,7 @@ cipher_filter (void *opaque, int control, iobuf_t a, byte *buf, size_t *ret_len)
}
else if (control == IOBUFCTRL_DESC)
{
mem2str (buf, "cipher_filter", *ret_len);
mem2str (buf, "cipher_filter_cfb", *ret_len);
}
return rc;