Content-Length: 281456 | pFad | http://github.com/postgrespro/postgres/commit/abe81ee08468e63f94b91e484f47c867bcc706d3

99 pgcrypto: Remove unused error code · postgrespro/postgres@abe81ee · GitHub
Skip to content

Commit abe81ee

Browse files
committed
pgcrypto: Remove unused error code
PXE_MCRYPT_INTERNAL was apparently never used even when it was added.
1 parent 5c868c9 commit abe81ee

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

contrib/pgcrypto/px.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ static const struct error_desc px_err_list[] = {
5555
{PXE_ARGUMENT_ERROR, "Illegal argument to function"},
5656
{PXE_UNKNOWN_SALT_ALGO, "Unknown salt algorithm"},
5757
{PXE_BAD_SALT_ROUNDS, "Incorrect number of rounds"},
58-
{PXE_MCRYPT_INTERNAL, "mcrypt internal error"},
5958
{PXE_NO_RANDOM, "Failed to generate strong random bits"},
6059
{PXE_DECRYPT_FAILED, "Decryption failed"},
6160
{PXE_ENCRYPT_FAILED, "Encryption failed"},

contrib/pgcrypto/px.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
#define PXE_ARGUMENT_ERROR -13
5959
#define PXE_UNKNOWN_SALT_ALGO -14
6060
#define PXE_BAD_SALT_ROUNDS -15
61-
#define PXE_MCRYPT_INTERNAL -16
61+
/* -16 is unused */
6262
#define PXE_NO_RANDOM -17
6363
#define PXE_DECRYPT_FAILED -18
6464
#define PXE_ENCRYPT_FAILED -19

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/abe81ee08468e63f94b91e484f47c867bcc706d3

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy