summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHeikki Linnakangas2020-05-14 10:53:16 +0000
committerHeikki Linnakangas2020-05-14 10:57:00 +0000
commit267cc6ed29668fcf2e527f514f0fbbeaa73c388e (patch)
tree62cb499f3012e318da3f0928b11d24f035b92caa /src
parent34dae902ca1c7d32a24b711131911e3045c0097d (diff)
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/22108CF6-228B-45CF-9CDA-5C5F658DCC22@yesql.se
Diffstat (limited to 'src')
-rw-r--r--src/interfaces/libpq/fe-secure-openssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/libpq/fe-secure-openssl.c b/src/interfaces/libpq/fe-secure-openssl.c
index 9913242b7a0..6d36e1439ef 100644
--- a/src/interfaces/libpq/fe-secure-openssl.c
+++ b/src/interfaces/libpq/fe-secure-openssl.c
@@ -1702,7 +1702,7 @@ PQsetSSLKeyPassHook(PQsslKeyPassHook_type hook)
/*
* Supply a password to decrypt a client certificate.
*
- * This must match OpenSSL type pem_passwd_cb.
+ * This must match OpenSSL type pem_password_cb.
*/
static int
PQssl_passwd_cb(char *buf, int size, int rwflag, void *userdata)