aboutsummaryrefslogtreecommitdiff
path: root/src/backend/libpq/hba.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2021-02-01 19:19:44 +0900
committerMichael Paquier <michael@paquier.xyz>2021-02-01 19:19:44 +0900
commitfe61df7f82aa6e0879476146dbe1da9c89b4946b (patch)
treed1c7ca42a5f3739bb9e221f8c0130a805267ef30 /src/backend/libpq/hba.c
parent7c5d57caed4d8af705d0cc3131d0d8ed72b7a41d (diff)
downloadpostgresql-fe61df7f82aa6e0879476146dbe1da9c89b4946b.tar.gz
postgresql-fe61df7f82aa6e0879476146dbe1da9c89b4946b.zip
Introduce --with-ssl={openssl} as a configure option
This is a replacement for the existing --with-openssl, extending the logic to make easier the addition of new SSL libraries. The grammar is chosen to be similar to --with-uuid, where multiple values can be chosen, with "openssl" as the only supported value for now. The original switch, --with-openssl, is kept for compatibility. Author: Daniel Gustafsson, Michael Paquier Reviewed-by: Jacob Champion Discussion: https://postgr.es/m/FAB21FC8-0F62-434F-AA78-6BD9336D630A@yesql.se
Diffstat (limited to 'src/backend/libpq/hba.c')
-rw-r--r--src/backend/libpq/hba.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/libpq/hba.c b/src/backend/libpq/hba.c
index 371dccb852f..20bf1461cef 100644
--- a/src/backend/libpq/hba.c
+++ b/src/backend/libpq/hba.c
@@ -1041,7 +1041,7 @@ parse_hba_line(TokenizedLine *tok_line, int elevel)
ereport(elevel,
(errcode(ERRCODE_CONFIG_FILE_ERROR),
errmsg("hostssl record cannot match because SSL is not supported by this build"),
- errhint("Compile with --with-openssl to use SSL connections."),
+ errhint("Compile with --with-ssl=openssl to use SSL connections."),
errcontext("line %d of configuration file \"%s\"",
line_num, HbaFileName)));
*err_msg = "hostssl record cannot match because SSL is not supported by this build";