summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Paquier2022-01-12 03:39:36 +0000
committerMichael Paquier2022-01-12 03:39:36 +0000
commit9a3d8e1886670ca3532687c5336d97965a79a084 (patch)
tree9c45080ae90221696e46b40f97ce59008a590c82
parentaf9e6331aeba149c93052c3549140082a85a3cf9 (diff)
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/[email protected] 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 ddf35d28b2..a295a5c6d8 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 2e835b066b..6c98f1cf95 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 *