summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/krb5/krb/ChangeLog5
-rw-r--r--src/lib/krb5/krb/vfy_increds.c9
2 files changed, 9 insertions, 5 deletions
diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog
index 155f35a5f3..5e9061939b 100644
--- a/src/lib/krb5/krb/ChangeLog
+++ b/src/lib/krb5/krb/ChangeLog
@@ -1,3 +1,8 @@
+2001-06-07 Ezra Peisach <epeisach@mit.edu>
+
+ * vfy_increds.c (krb5_verify_init_creds): Get rid of a variable
+ that was set in a conditional and never used afterwards.
+
2001-06-01 Ken Raeburn <raeburn@mit.edu>
* init_ctx.c (get_profile_etype_list): Zero out multiple separator
diff --git a/src/lib/krb5/krb/vfy_increds.c b/src/lib/krb5/krb/vfy_increds.c
index e3955174eb..9f9a257f26 100644
--- a/src/lib/krb5/krb/vfy_increds.c
+++ b/src/lib/krb5/krb/vfy_increds.c
@@ -103,17 +103,16 @@ krb5_verify_init_creds(krb5_context context,
/* this means there is no keying material. This is ok, as long as
it is not prohibited by the configuration */
- krb5_error_code ret2;
int nofail;
if (options &&
(options->flags & KRB5_VERIFY_INIT_CREDS_OPT_AP_REQ_NOFAIL)) {
if (options->ap_req_nofail)
goto cleanup;
- } else if ((ret2 = krb5_libdefault_boolean(context,
- &creds->client->realm,
- "verify_ap_req_nofail",
- &nofail))
+ } else if (krb5_libdefault_boolean(context,
+ &creds->client->realm,
+ "verify_ap_req_nofail",
+ &nofail)
== 0) {
if (nofail)
goto cleanup;