diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-07-21 09:19:48 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-07-21 09:19:48 +0000 |
commit | 56014e74a0fd6ed349370af1c0448a0013fa8bf4 (patch) | |
tree | 3acb55c24b171f712e14cb676d50b66ff38c4829 /lib | |
parent | 172271498dcbfbb8897f285d9c9c54af6d06bb5a (diff) |
krb4-fixes for the moved user+password fields within the structs
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ftp.c | 2 | ||||
-rw-r--r-- | lib/krb4.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -512,7 +512,7 @@ CURLcode Curl_ftp_connect(struct connectdata *conn) /* we may need to issue a KAUTH here to have access to the files * do it if user supplied a password */ - if(data->state.passwd && *data->state.passwd) { + if(conn->passwd && *conn->passwd) { result = Curl_krb_kauth(conn); if(result) return result; diff --git a/lib/krb4.c b/lib/krb4.c index b80ea390e..71fdea131 100644 --- a/lib/krb4.c +++ b/lib/krb4.c @@ -363,7 +363,7 @@ CURLcode Curl_krb_kauth(struct connectdata *conn) for(; *p && *p != ' ' && *p != '\r' && *p != '\n'; p++); *p = 0; - des_string_to_key (conn->data->state.passwd, &key); + des_string_to_key (conn->passwd, &key); des_key_sched(&key, schedule); des_pcbc_encrypt((void *)tkt.dat, (void *)tktcopy.dat, |