1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-06 18:42:54 +03:00

Message style adjustment

This commit is contained in:
Peter Eisentraut
2022-08-23 21:50:12 +02:00
parent 2c63b0930a
commit dfe2eb7633

View File

@@ -940,7 +940,7 @@ pg_fe_scram_build_secret(const char *password, const char **errstr)
/* Generate a random salt */ /* Generate a random salt */
if (!pg_strong_random(saltbuf, SCRAM_DEFAULT_SALT_LEN)) if (!pg_strong_random(saltbuf, SCRAM_DEFAULT_SALT_LEN))
{ {
*errstr = _("failed to generate random salt"); *errstr = _("could not generate random salt");
if (prep_password) if (prep_password)
free(prep_password); free(prep_password);
return NULL; return NULL;