mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
pgcrypto: Remove unused code
The mbuf_tell, mbuf_rewind and pgp_get_cipher_name functions were
introduced in commit e94dd6ab91
, but were never used, so remove.
Reviewed-by: Aleksander Alekseev <aleksander@timescale.com>
Discussion: https://postgr.es/m/FCF3F14E-17D5-41F2-AC58-0A97B341193A@yesql.se
This commit is contained in:
@ -133,16 +133,6 @@ pgp_get_digest_name(int code)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
const char *
|
||||
pgp_get_cipher_name(int code)
|
||||
{
|
||||
const struct cipher_info *i = get_cipher_info(code);
|
||||
|
||||
if (i != NULL)
|
||||
return i->name;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
int
|
||||
pgp_get_cipher_key_size(int code)
|
||||
{
|
||||
|
Reference in New Issue
Block a user