Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3fa44a3

Browse filesBrowse 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/D9492CCB-9A91-4181-A847-1779630BE2A7@yesql.se
1 parent c1669fd commit 3fa44a3
Copy full SHA for 3fa44a3

File tree

Expand file treeCollapse file tree

1 file changed

+3
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-2
lines changed

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

Copy file name to clipboardExpand all lines: src/backend/libpq/be-secure-openssl.c
+3-2Lines changed: 3 additions & 2 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.