diff --git a/appl/ftp/ftpd/ftpd.c b/appl/ftp/ftpd/ftpd.c index afea855ae..3441d8ddc 100644 --- a/appl/ftp/ftpd/ftpd.c +++ b/appl/ftp/ftpd/ftpd.c @@ -790,11 +790,6 @@ pass(char *passwd) #endif else if((auth_level & AUTH_OTP) == 0) { #ifdef KRB4 - -#ifndef KRB_VERIFY_SECURE -#define KRB_VERIFY_SECURE 1 -#endif - char realm[REALM_SZ]; if((rval = krb_get_lrealm(realm, 1)) == KSUCCESS) rval = krb_verify_user(pw->pw_name, diff --git a/appl/popper/pop_pass.c b/appl/popper/pop_pass.c index ce2ab9c2b..91ba49756 100644 --- a/appl/popper/pop_pass.c +++ b/appl/popper/pop_pass.c @@ -26,9 +26,6 @@ krb4_verify_password (POP *p) TKT_ROOT "_popper.%u", (unsigned)getpid()); krb_set_tkt_string (tkt); -#ifndef KRB_VERIFY_SECURE -#define KRB_VERIFY_SECURE 1 -#endif status = krb_verify_user(p->user, "", lrealm, p->pop_parm[1], KRB_VERIFY_SECURE, "pop"); dest_tkt(); /* no point in keeping the tickets */ diff --git a/lib/auth/sia/sia.c b/lib/auth/sia/sia.c index 2ec011940..a968b4e83 100644 --- a/lib/auth/sia/sia.c +++ b/lib/auth/sia/sia.c @@ -98,11 +98,6 @@ setup_password(SIAENTITY *e, prompt_t *p) } -#if defined(SIA_KRB4) && !defined(KRB_VERIFY_SECURE) -#define KRB_VERIFY_SECURE 1 -#define KRB_VERIFY_NOT_SECURE 0 -#endif - static int doauth(SIAENTITY *entity, int pkgind, char *name) {