ChangeLog:
authorMoritz Schulte <mo@g10code.com>
Fri, 30 Sep 2005 20:26:09 +0000 (20:26 +0000)
committerMoritz Schulte <mo@g10code.com>
Fri, 30 Sep 2005 20:26:09 +0000 (20:26 +0000)
commit2e58c97ce36d60c92cc78fb280315a046b1157bb
treee61312ea0c9ed0e3a13b38ab3026f45f72aabe25
parent6868abafc1d93999cc5e1397df6e0c540397c6d1
ChangeLog:

2005-09-25  Moritz Schulte  <moritz@g10code.com>

* conf: New directory.
* configure.ac (AC_CONFIG_FILES): Added: conf/Makefile.am.
* Makefile.am (SUBDIRS): Added: conf.
* THANKS: updated.

src/ctrl/ChangeLog:

2005-09-30  Moritz Schulte  <moritz@g10code.com>

* poldi-ctrl.c (struct poldi_ctrl_opt): Remove unnecessary, rather
annoying const attributes.
(cmd_add_user): Likewise.

2005-09-27  Moritz Schulte  <moritz@g10code.com>

* poldi-ctrl.c: Adjust to new card_init API; pass zero timeout.

src/common/ChangeLog:

2005-09-26  Moritz Schulte  <moritz@g10code.com>

Thanks to Alessandro Rubini:

* card.c: Include <time.h>.
(wait_for_card): New parameter: TIMEOUT; new variables T0, T;
return 1 in case the specified timeout elapsed without any card
being inserted.
(card_init): New parameter: TIMEOUT; new variable: RET; pass
TIMEOUT to wait_for_card();
* card.h (card_sign): Updated card_init API.

src/pam/ChangeLog:

2005-09-27  Moritz Schulte  <moritz@g10code.com>

* pam_poldi.c (struct pam_poldi_opt): New member: TIMEOUT.
(pam_poldi_opt): Extend struct initialization.
(enum arg_opt_ids): New entry: ARG_WAIT_TIMEOUT.
(pam_poldi_options_cb): Handle ARG_WAIT_TIMEOUT.
(wait_for_card): New variables; TIMEOUT, WAIT; initialize them
depending on FAKE and PAM_POLDI_OPT.TIMEOUT; pass TIMEOUT and WAIT
to card_init.
(lookup_key): Use usersdb_lookup_by_username() instead of
username_to_serialno(); remove const attribute from SERIALNO.
(wait_for_card): Remove const attribute from SERIALNO.
(pam_sm_authenticate): Likewise.
(pam_sm_authenticate): Use usersdb_lookup_by_serialno() instead of
serialno_to_username(); remove const attribute from account.
15 files changed:
ChangeLog
INSTALL
Makefile.am
THANKS
configure.ac
doc/mdate-sh
doc/poldi.texi
doc/texinfo.tex
src/common/ChangeLog
src/common/card.c
src/common/card.h
src/ctrl/ChangeLog
src/ctrl/poldi-ctrl.c
src/pam/ChangeLog
src/pam/pam_poldi.c