From 267cc6ed29668fcf2e527f514f0fbbeaa73c388e Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Thu, 14 May 2020 13:53:16 +0300 Subject: [PATCH] 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 --- src/interfaces/libpq/fe-secure-openssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interfaces/libpq/fe-secure-openssl.c b/src/interfaces/libpq/fe-secure-openssl.c index 9913242b7a..6d36e1439e 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)