diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ZCkZAut.c | 4 | ||||
-rw-r--r-- | lib/ZExpnRlm.c | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/lib/ZCkZAut.c b/lib/ZCkZAut.c index eddb547..dac17e9 100644 --- a/lib/ZCkZAut.c +++ b/lib/ZCkZAut.c @@ -190,7 +190,7 @@ Code_t ZCheckZcodeAuthentication(ZNotice_t *notice, return ZAUTH_YES; else return ZAUTH_FAILED; -#endif /* HAVE_KRB5 */ - +#else /* HAVE_KRB5 */ return (notice->z_auth ? ZAUTH_YES : ZAUTH_NO); +#endif } diff --git a/lib/ZExpnRlm.c b/lib/ZExpnRlm.c index 36a9f4b..1b752a9 100644 --- a/lib/ZExpnRlm.c +++ b/lib/ZExpnRlm.c @@ -26,7 +26,7 @@ char *realm; expand[sizeof(expand)-1] = '\0'; result = krb5_free_host_realm(Z_krb5_ctx, list_realms); return expand; -#endif +#else #ifndef HAVE_KRB4 struct hostent *he; @@ -97,5 +97,6 @@ char *realm; return(krb_realm); } } -#endif /* KERBEROS */ +#endif /* HAVE_KRB4 */ +#endif } |