summaryrefslogtreecommitdiff
path: root/lib/auth_srp.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2002-01-28 12:43:16 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2002-01-28 12:43:16 +0000
commit9c73603e69fe3b9e4d1b3718b0925204088dde7b (patch)
treed455bcec6e61e4da0519bb0fe4a612a79827e0e2 /lib/auth_srp.c
parent5c5c5e7c03d14e3843fbb94f9227f39bf652385e (diff)
downloadgnutls-9c73603e69fe3b9e4d1b3718b0925204088dde7b.tar.gz
GNUTLS_X509PKI -> GNUTLS_CRD_X509PKI
GNUTLS_SRP -> GNUTLS_CRD_SRP GNUTLS_ANON -> GNUTLS_CRD_ANON
Diffstat (limited to 'lib/auth_srp.c')
-rw-r--r--lib/auth_srp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/auth_srp.c b/lib/auth_srp.c
index 47e5d1e70b..cf015dbc18 100644
--- a/lib/auth_srp.c
+++ b/lib/auth_srp.c
@@ -78,7 +78,7 @@ int gen_srp_server_hello(GNUTLS_STATE state, opaque ** data)
int err;
SRP_SERVER_AUTH_INFO info;
- if ( (ret=_gnutls_auth_info_set( state, GNUTLS_SRP, sizeof( SRP_SERVER_AUTH_INFO_INT))) < 0) {
+ if ( (ret=_gnutls_auth_info_set( state, GNUTLS_CRD_SRP, sizeof( SRP_SERVER_AUTH_INFO_INT))) < 0) {
gnutls_assert();
return ret;
}
@@ -241,7 +241,7 @@ int gen_srp_client_kx0(GNUTLS_STATE state, opaque ** data)
char *username;
char *password;
const GNUTLS_SRP_CLIENT_CREDENTIALS cred =
- _gnutls_get_cred(state->gnutls_key, GNUTLS_SRP, NULL);
+ _gnutls_get_cred(state->gnutls_key, GNUTLS_CRD_SRP, NULL);
if (cred == NULL) {
gnutls_assert();
@@ -301,7 +301,7 @@ int proc_srp_server_hello(GNUTLS_STATE state, const opaque * data, int data_size
char *username;
char *password;
const GNUTLS_SRP_CLIENT_CREDENTIALS cred =
- _gnutls_get_cred(state->gnutls_key, GNUTLS_SRP, NULL);
+ _gnutls_get_cred(state->gnutls_key, GNUTLS_CRD_SRP, NULL);
if (cred == NULL) {
gnutls_assert();