Skip to content

Commit c01ac6d

Browse files
committed
Add dummy versions of new SSL functions for non-SSL builds
This rectifies an oversight in commit 4dc6355, which caused certain builds to fail, especially on Windows.
1 parent c35b714 commit c01ac6d

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

src/interfaces/libpq/fe-secure.c

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,24 @@ PQsslAttributeNames(PGconn *conn)
432432

433433
return result;
434434
}
435+
436+
PQsslKeyPassHook_type
437+
PQgetSSLKeyPassHook(void)
438+
{
439+
return NULL;
440+
}
441+
442+
void
443+
PQsetSSLKeyPassHook(PQsslKeyPassHook_type hook)
444+
{
445+
return;
446+
}
447+
448+
int
449+
PQdefaultSSLKeyPassHook(char *buf, int size, PGconn *conn)
450+
{
451+
return 0;
452+
}
435453
#endif /* USE_SSL */
436454

437455
/* Dummy version of GSSAPI information functions, when built without GSS support */

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