aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2022-01-12 12:39:36 +0900
committerMichael Paquier <michael@paquier.xyz>2022-01-12 12:39:36 +0900
commit9a3d8e1886670ca3532687c5336d97965a79a084 (patch)
tree9c45080ae90221696e46b40f97ce59008a590c82
parentaf9e6331aeba149c93052c3549140082a85a3cf9 (diff)
downloadpostgresql-9a3d8e1886670ca3532687c5336d97965a79a084.tar.gz
postgresql-9a3d8e1886670ca3532687c5336d97965a79a084.zip
Fix comment related to pg_cryptohash_error()
One of the comments introduced in b69aba7 was worded a bit weirdly, so improve it. Reported-by: Sergey Shinderuk Discussion: https://postgr.es/m/71b9a5d2-a3bf-83bc-a243-93dcf0bcfb3b@postgrespro.ru Backpatch-through: 14
-rw-r--r--src/common/cryptohash.c2
-rw-r--r--src/common/cryptohash_openssl.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/common/cryptohash.c b/src/common/cryptohash.c
index ddf35d28b22..a295a5c6d86 100644
--- a/src/common/cryptohash.c
+++ b/src/common/cryptohash.c
@@ -252,7 +252,7 @@ pg_cryptohash_free(pg_cryptohash_ctx *ctx)
/*
* pg_cryptohash_error
*
- * Returns a static string providing errors about an error that
+ * Returns a static string providing details about an error that
* happened during a computation.
*/
const char *
diff --git a/src/common/cryptohash_openssl.c b/src/common/cryptohash_openssl.c
index 2e835b066b4..6c98f1cf95a 100644
--- a/src/common/cryptohash_openssl.c
+++ b/src/common/cryptohash_openssl.c
@@ -308,7 +308,7 @@ pg_cryptohash_free(pg_cryptohash_ctx *ctx)
/*
* pg_cryptohash_error
*
- * Returns a static string providing errors about an error that
+ * Returns a static string providing details about an error that
* happened during a computation.
*/
const char *