summaryrefslogtreecommitdiff
path: root/libextra/auth_srp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libextra/auth_srp.c')
-rw-r--r--libextra/auth_srp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libextra/auth_srp.c b/libextra/auth_srp.c
index b20cb9bc76..d6bdf1491a 100644
--- a/libextra/auth_srp.c
+++ b/libextra/auth_srp.c
@@ -101,7 +101,7 @@ int _gnutls_gen_srp_server_kx(gnutls_session state, opaque ** data)
*/
pwd_entry = _gnutls_randomize_pwd_entry();
} else {
- return GNUTLS_E_PWD_ERROR;
+ return GNUTLS_E_SRP_PWD_ERROR;
}
}