From 513bd242b9e37161c206b6a58dd6274591167a02 Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Thu, 18 Mar 1999 11:55:41 +0000 Subject: [PATCH] define KRB_VERIFY_SECURE if not defined git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5605 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/popper/pop_pass.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/appl/popper/pop_pass.c b/appl/popper/pop_pass.c index 91ba49756..b0de6995f 100644 --- a/appl/popper/pop_pass.c +++ b/appl/popper/pop_pass.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1989 Regents of the University of California. + * Copyright (c) 1989, 1999 Regents of the University of California. * All rights reserved. The Berkeley software License Agreement * specifies the terms and conditions for redistribution. */ @@ -26,6 +26,9 @@ 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 */