Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

+18
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)