Skip to content

Commit 3fa44a3

Browse files
committed
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/[email protected]
1 parent c1669fd commit 3fa44a3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/backend/libpq/be-secure-openssl.c

+3-2
Original file line numberDiff line numberDiff line change
@@ -872,8 +872,9 @@ load_dh_file(char *filename, bool isServerStart)
872872
/*
873873
* Load hardcoded DH parameters.
874874
*
875-
* To prevent problems if the DH parameters files don't even
876-
* exist, we can load DH parameters hardcoded into this file.
875+
* If DH parameters cannot be loaded from a specified file, we can load
876+
* the hardcoded DH parameters supplied with the backend to prevent
877+
* problems.
877878
*/
878879
static DH *
879880
load_dh_buffer(const char *buffer, size_t len)

0 commit comments

Comments
 (0)