Skip to content

Commit 3f64966

Browse files
committed
pgcrypto: Remove unused error code
PXE_DEV_READ_ERROR hasn't been used since random device support was removed from pgcrypto (fe0a0b5).
1 parent abe81ee commit 3f64966

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

contrib/pgcrypto/px.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ static const struct error_desc px_err_list[] = {
5050
{PXE_KEY_TOO_BIG, "Key was too big"},
5151
{PXE_CIPHER_INIT, "Cipher cannot be initialized ?"},
5252
{PXE_HASH_UNUSABLE_FOR_HMAC, "This hash algorithm is unusable for HMAC"},
53-
{PXE_DEV_READ_ERROR, "Error reading from random device"},
5453
{PXE_BUG, "pgcrypto bug"},
5554
{PXE_ARGUMENT_ERROR, "Illegal argument to function"},
5655
{PXE_UNKNOWN_SALT_ALGO, "Unknown salt algorithm"},

contrib/pgcrypto/px.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@
5353
#define PXE_KEY_TOO_BIG -7
5454
#define PXE_CIPHER_INIT -8
5555
#define PXE_HASH_UNUSABLE_FOR_HMAC -9
56-
#define PXE_DEV_READ_ERROR -10
56+
/* -10 is unused */
57+
/* -11 is unused */
5758
#define PXE_BUG -12
5859
#define PXE_ARGUMENT_ERROR -13
5960
#define PXE_UNKNOWN_SALT_ALGO -14

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy