diff options
author | Daiki Ueno <ueno@gnu.org> | 2022-12-15 00:45:04 +0900 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2022-12-16 06:38:31 +0900 |
commit | dab063fca2eecb9ff1db73234108315c5b713756 (patch) | |
tree | c174de31626640b360cd9114d6175e3919247b4e /src/cli.c | |
parent | 2b6b6f69c24b49131201925d86845f78c490aac5 (diff) | |
download | gnutls-dab063fca2eecb9ff1db73234108315c5b713756.tar.gz |
srp: provide stubs of public functions even if SRP is disabled
This adds stub definitions of public SRP functions even if SRP is
disabled with --disable-srp-authentication, to preserve the ABI.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Diffstat (limited to 'src/cli.c')
-rw-r--r-- | src/cli.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1876,6 +1876,7 @@ int do_handshake(socket_st * socket) return ret; } +#ifdef ENABLE_SRP static int srp_username_callback(gnutls_session_t session, char **username, char **password) @@ -1889,6 +1890,7 @@ srp_username_callback(gnutls_session_t session, return 0; } +#endif static int psk_callback(gnutls_session_t session, char **username, |