diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2022-02-21 10:28:43 +0100 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2022-02-21 10:28:43 +0100 |
commit | abe81ee08468e63f94b91e484f47c867bcc706d3 (patch) | |
tree | 04e0344231823f82f6ca97c24b6178a0e1f57f5f | |
parent | 5c868c92caa864d223006c095d623b8086754c6f (diff) | |
download | postgresql-abe81ee08468e63f94b91e484f47c867bcc706d3.tar.gz postgresql-abe81ee08468e63f94b91e484f47c867bcc706d3.zip |
pgcrypto: Remove unused error code
PXE_MCRYPT_INTERNAL was apparently never used even when it was added.
-rw-r--r-- | contrib/pgcrypto/px.c | 1 | ||||
-rw-r--r-- | contrib/pgcrypto/px.h | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/contrib/pgcrypto/px.c b/contrib/pgcrypto/px.c index 4205e9c3eff..360acbd5937 100644 --- a/contrib/pgcrypto/px.c +++ b/contrib/pgcrypto/px.c @@ -55,7 +55,6 @@ static const struct error_desc px_err_list[] = { {PXE_ARGUMENT_ERROR, "Illegal argument to function"}, {PXE_UNKNOWN_SALT_ALGO, "Unknown salt algorithm"}, {PXE_BAD_SALT_ROUNDS, "Incorrect number of rounds"}, - {PXE_MCRYPT_INTERNAL, "mcrypt internal error"}, {PXE_NO_RANDOM, "Failed to generate strong random bits"}, {PXE_DECRYPT_FAILED, "Decryption failed"}, {PXE_ENCRYPT_FAILED, "Encryption failed"}, diff --git a/contrib/pgcrypto/px.h b/contrib/pgcrypto/px.h index 17d6f224987..3ed9f711c8a 100644 --- a/contrib/pgcrypto/px.h +++ b/contrib/pgcrypto/px.h @@ -58,7 +58,7 @@ #define PXE_ARGUMENT_ERROR -13 #define PXE_UNKNOWN_SALT_ALGO -14 #define PXE_BAD_SALT_ROUNDS -15 -#define PXE_MCRYPT_INTERNAL -16 +/* -16 is unused */ #define PXE_NO_RANDOM -17 #define PXE_DECRYPT_FAILED -18 #define PXE_ENCRYPT_FAILED -19 |