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/D9492CCB-9A91-4181-A847-1779630BE2A7@yesql.se
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

Lines 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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy