diff options
author | Michael Paquier <michael@paquier.xyz> | 2020-06-04 13:02:59 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2020-06-04 13:02:59 +0900 |
commit | 3fa44a30049826bfe2fd58eec0e8acabd5757411 (patch) | |
tree | c5c2d843bdbedc30b754e65fa381606212dc4601 | |
parent | c1669fd5812a02daac58778e2708ede11edd36a3 (diff) | |
download | postgresql-3fa44a30049826bfe2fd58eec0e8acabd5757411.tar.gz postgresql-3fa44a30049826bfe2fd58eec0e8acabd5757411.zip |
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
-rw-r--r-- | src/backend/libpq/be-secure-openssl.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/backend/libpq/be-secure-openssl.c b/src/backend/libpq/be-secure-openssl.c index 78a865d23b6..8adf64c78ee 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) |