Lines Matching refs:ret
51 krb5_error_code ret;
66 ret = krb5_parse_name(context, opt->principal_string, &entry.principal);
67 if(ret) {
68 krb5_warn(context, ret, "%s", opt->principal_string);
73 ret = 1;
78 ret = krb5_string_to_enctype(context, opt->enctype_string, &enctype);
79 if(ret) {
84 krb5_warn(context, ret, "%s", opt->enctype_string);
90 ret = 1;
98 ret = 1;
122 ret = krb5_keyblock_init(context, enctype,
134 ret = krb5_string_to_key_data_salt(context, enctype, pw, salt,
137 ret = krb5_string_to_key(context, enctype, opt->password_string,
142 ret = krb5_generate_random_keyblock(context, enctype, &entry.keyblock);
144 if(ret) {
145 krb5_warn(context, ret, "add");
150 ret = krb5_kt_add_entry(context, keytab, &entry);
151 if(ret)
152 krb5_warn(context, ret, "add");
156 return ret != 0;