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

Commitabe81ee

Browse files
committed
pgcrypto: Remove unused error code
PXE_MCRYPT_INTERNAL was apparently never used even when it was added.
1 parent5c868c9 commitabe81ee

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
#definePXE_ARGUMENT_ERROR-13
5959
#definePXE_UNKNOWN_SALT_ALGO-14
6060
#definePXE_BAD_SALT_ROUNDS-15
61-
#definePXE_MCRYPT_INTERNAL-16
61+
/*-16 is unused */
6262
#definePXE_NO_RANDOM-17
6363
#definePXE_DECRYPT_FAILED-18
6464
#definePXE_ENCRYPT_FAILED-19

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp