summaryrefslogtreecommitdiff
path: root/contrib/pgcrypto/px.c
diff options
context:
space:
mode:
authorDaniel Gustafsson2022-05-06 12:41:36 +0000
committerDaniel Gustafsson2022-05-06 12:41:36 +0000
commitee97d46cdb7e23f8ee98fe22648a1c3c75a80261 (patch)
tree2f82c6aad9b67c11cdd5df765fab8f3bcc14c92d /contrib/pgcrypto/px.c
parent0250a167a07d4d2cff932e467d84306cbd3704fe (diff)
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). Discussion: https://postgr.es/m/C89D932C-501E-4473-9750-638CFCD9095E@yesql.se
Diffstat (limited to 'contrib/pgcrypto/px.c')
-rw-r--r--contrib/pgcrypto/px.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/pgcrypto/px.c b/contrib/pgcrypto/px.c
index 40b6a04d526..3b098c61514 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"},