Merge from vendor branch TNF:
[pkgsrc.git] / security / sfs / patches / patch-bh
1 $NetBSD$
2
3 --- ./agent/sfsauthmgr.C.orig   2002-10-08 21:05:01.000000000 +0100
4 +++ ./agent/sfsauthmgr.C
5 @@ -283,7 +283,7 @@ extauth::~extauth ()
6  void
7  authmgr::authinit (svccb *s)
8  {
9 -  sfsagent_authinit_arg *aa = s->template getarg<sfsagent_authinit_arg> ();
10 +  sfsagent_authinit_arg *aa = s->getarg<sfsagent_authinit_arg> ();
11  
12    authmeth *k = lookup_by_index (aa->ntries);
13    if (!k || aa->authinfo.type != SFS_AUTHINFO) {
14 @@ -298,7 +298,7 @@ authmgr::authinit (svccb *s)
15  void
16  authmgr::authmore (svccb *s)
17  {
18 -  sfsagent_authmore_arg *aa = s->template getarg<sfsagent_authmore_arg> ();
19 +  sfsagent_authmore_arg *aa = s->getarg<sfsagent_authmore_arg> ();
20    sfs_hash dummy;
21    authmeth *k = asmgr.retrieve (aa->authinfo, aa->seqno, dummy);
22    if (!k || aa->authinfo.type != SFS_AUTHINFO) {