v2-0003-pgcrypto-remove-questionmark-from-error-message.patch
application/octet-stream
Filename: v2-0003-pgcrypto-remove-questionmark-from-error-message.patch
Type: application/octet-stream
Part: 0
Patch
Format: format-patch
Series: patch v2-0003
Subject: pgcrypto: remove questionmark from error message
| File | + | − |
|---|---|---|
| contrib/pgcrypto/px.c | 1 | 1 |
From ac36027ddd1097f58a217cc822f0e3e6b4bd4d55 Mon Sep 17 00:00:00 2001
From: Daniel Gustafsson <daniel@yesql.se>
Date: Sat, 23 Apr 2022 02:53:08 +0200
Subject: [PATCH v2 3/3] pgcrypto: remove questionmark from error message
The PXE_CIPHER_INIT error is used to report initialization errors, so
appending a questionmark to the error isn't entirely accurate (using a
space before the questionmark doubly so).
---
contrib/pgcrypto/px.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/pgcrypto/px.c b/contrib/pgcrypto/px.c
index 40b6a04d52..3b098c6151 100644
--- a/contrib/pgcrypto/px.c
+++ b/contrib/pgcrypto/px.c
@@ -46,7 +46,7 @@ static const struct error_desc px_err_list[] = {
{PXE_BAD_OPTION, "Unknown option"},
{PXE_BAD_FORMAT, "Badly formatted type"},
{PXE_KEY_TOO_BIG, "Key was too big"},
- {PXE_CIPHER_INIT, "Cipher cannot be initialized ?"},
+ {PXE_CIPHER_INIT, "Cipher cannot be initialized"},
{PXE_HASH_UNUSABLE_FOR_HMAC, "This hash algorithm is unusable for HMAC"},
{PXE_BUG, "pgcrypto bug"},
{PXE_ARGUMENT_ERROR, "Illegal argument to function"},
--
2.32.0 (Apple Git-132)