Skip to content

Commit 267cc6e

Browse files
committed
Fix typo in comment on OpenSSL PEM password callback type name.
The type is called "pem_password_cb", not "pem_passwd_cb". Author: Daniel Gustafsson Discussion: https://www.postgresql.org/message-id/[email protected]
1 parent 34dae90 commit 267cc6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/interfaces/libpq/fe-secure-openssl.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1702,7 +1702,7 @@ PQsetSSLKeyPassHook(PQsslKeyPassHook_type hook)
17021702
/*
17031703
* Supply a password to decrypt a client certificate.
17041704
*
1705-
* This must match OpenSSL type pem_passwd_cb.
1705+
* This must match OpenSSL type pem_password_cb.
17061706
*/
17071707
static int
17081708
PQssl_passwd_cb(char *buf, int size, int rwflag, void *userdata)

0 commit comments

Comments
 (0)