+Mon May 1 11:29:37 1995 Ezra Peisach (epeisach@kangaroo.mit.edu)
+
+ * read_passwd.c: (des_read_pw_string): Call to krb5_read_password
+ wants a pointer to the length of the buffer.
+
Fri Apr 28 13:35:25 1995 Theodore Y. Ts'o <tytso@dcl>
* read_passwd.c (des_read_pw_string): Add des_read_pw_string,
krb5_error_code
des_read_pw_string/*_v4_compat_crock*/(buf, bufsize, prompt, prompt2)
char *buf;
- int *bufsize;
+ int bufsize;
char *prompt;
char *prompt2;
{
krb5_error_code retval;
+ int i = bufsize;
if (!krb4_global_context) {
retval = krb5_init_context(&krb4_global_context);
}
retval = krb5_read_password(krb4_global_context, prompt, prompt2,
- buf, bufsize);
+ buf, &i);
return retval;
}