From 3fa44a30049826bfe2fd58eec0e8acabd5757411 Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Thu, 4 Jun 2020 13:02:59 +0900 Subject: [PATCH] Fix comment in be-secure-openssl.c Since 573bd08, hardcoded DH parameters have been moved to a different file, making the comment on top of load_dh_buffer() incorrect. Author: Daniel Gustafsson Discussion: https://postgr.es/m/D9492CCB-9A91-4181-A847-1779630BE2A7@yesql.se --- src/backend/libpq/be-secure-openssl.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/backend/libpq/be-secure-openssl.c b/src/backend/libpq/be-secure-openssl.c index 78a865d23b..8adf64c78e 100644 --- a/src/backend/libpq/be-secure-openssl.c +++ b/src/backend/libpq/be-secure-openssl.c @@ -872,8 +872,9 @@ load_dh_file(char *filename, bool isServerStart) /* * Load hardcoded DH parameters. * - * To prevent problems if the DH parameters files don't even - * exist, we can load DH parameters hardcoded into this file. + * If DH parameters cannot be loaded from a specified file, we can load + * the hardcoded DH parameters supplied with the backend to prevent + * problems. */ static DH * load_dh_buffer(const char *buffer, size_t len)