define KRB_VERIFY_SECURE if not defined
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5605 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -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
|
* All rights reserved. The Berkeley software License Agreement
|
||||||
* specifies the terms and conditions for redistribution.
|
* specifies the terms and conditions for redistribution.
|
||||||
*/
|
*/
|
||||||
@@ -26,6 +26,9 @@ krb4_verify_password (POP *p)
|
|||||||
TKT_ROOT "_popper.%u", (unsigned)getpid());
|
TKT_ROOT "_popper.%u", (unsigned)getpid());
|
||||||
krb_set_tkt_string (tkt);
|
krb_set_tkt_string (tkt);
|
||||||
|
|
||||||
|
#ifndef KRB_VERIFY_SECURE
|
||||||
|
#define KRB_VERIFY_SECURE 1
|
||||||
|
#endif
|
||||||
status = krb_verify_user(p->user, "", lrealm,
|
status = krb_verify_user(p->user, "", lrealm,
|
||||||
p->pop_parm[1], KRB_VERIFY_SECURE, "pop");
|
p->pop_parm[1], KRB_VERIFY_SECURE, "pop");
|
||||||
dest_tkt(); /* no point in keeping the tickets */
|
dest_tkt(); /* no point in keeping the tickets */
|
||||||
|
Reference in New Issue
Block a user