Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3f64966

Browse files
committed
pgcrypto: Remove unused error code
PXE_DEV_READ_ERROR hasn't been used since random device support wasremoved from pgcrypto (fe0a0b5).
1 parentabe81ee commit3f64966

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
#definePXE_KEY_TOO_BIG-7
5454
#definePXE_CIPHER_INIT-8
5555
#definePXE_HASH_UNUSABLE_FOR_HMAC-9
56-
#definePXE_DEV_READ_ERROR-10
56+
/* -10 is unused */
57+
/* -11 is unused */
5758
#definePXE_BUG-12
5859
#definePXE_ARGUMENT_ERROR-13
5960
#definePXE_UNKNOWN_SALT_ALGO-14

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp