summaryrefslogtreecommitdiff
path: root/lib/auth
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-10-03 11:08:04 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2018-02-19 15:29:35 +0100
commit41251710b0f0b0f57bc3edfc81735454de7b585a (patch)
tree121dee332b01179d6fdefd3867d19df504ecd964 /lib/auth
parentd8932805fa88b68238a0849da75ccf103879a257 (diff)
downloadgnutls-41251710b0f0b0f57bc3edfc81735454de7b585a.tar.gz
extensions: renamed _gnutls_hello_ext_*sdata to _gnutls_hello_ext_*priv
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/auth')
-rw-r--r--lib/auth/srp_kx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/auth/srp_kx.c b/lib/auth/srp_kx.c
index 0e00642fad..34cfe87361 100644
--- a/lib/auth/srp_kx.c
+++ b/lib/auth/srp_kx.c
@@ -128,7 +128,7 @@ _gnutls_gen_srp_server_kx(gnutls_session_t session,
unsigned init_pos;
ret =
- _gnutls_hello_ext_get_sdata(session, GNUTLS_EXTENSION_SRP,
+ _gnutls_hello_ext_get_priv(session, GNUTLS_EXTENSION_SRP,
&epriv);
if (ret < 0) { /* peer didn't send a username */
gnutls_assert();
@@ -253,7 +253,7 @@ _gnutls_gen_srp_client_kx(gnutls_session_t session,
srp_ext_st *priv;
ret =
- _gnutls_hello_ext_get_sdata(session, GNUTLS_EXTENSION_SRP,
+ _gnutls_hello_ext_get_priv(session, GNUTLS_EXTENSION_SRP,
&epriv);
if (ret < 0) { /* peer didn't send a username */
gnutls_assert();
@@ -885,7 +885,7 @@ _gnutls_proc_srp_server_kx(gnutls_session_t session, uint8_t * data,
srp_ext_st *priv;
ret =
- _gnutls_hello_ext_get_sdata(session, GNUTLS_EXTENSION_SRP,
+ _gnutls_hello_ext_get_priv(session, GNUTLS_EXTENSION_SRP,
&epriv);
if (ret < 0) {
gnutls_assert();