summaryrefslogtreecommitdiff
path: root/tests/tst-pam_set_data.c
Commit message (Collapse)AuthorAgeFilesLines
* tests: fix -Wmaybe-uninitialized warningsDmitry V. Levin2021-06-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Fix the following class of compilation warnings reported by gcc 11: tst-pam_end.c: In function ‘main’: tst-pam_end.c:55:12: error: ‘conv’ may be used uninitialized [-Werror=maybe-uninitialized] 55 | retval = pam_start (service, user, &conv, &pamh); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from tst-pam_end.c:41: ../libpam/include/security/pam_appl.h:23:1: note: by argument 3 of type ‘const struct pam_conv *’ to ‘pam_start’ declared here 23 | pam_start(const char *service_name, const char *user, | ^~~~~~~~~ tst-pam_end.c:49:19: note: ‘conv’ declared here 49 | struct pam_conv conv; | ^~~~ * tests/tst-pam_end.c (main): Initialize conv variable. * tests/tst-pam_fail_delay.c: Likewise. * tests/tst-pam_get_item.c: Likewise. * tests/tst-pam_getenvlist.c: Likewise. * tests/tst-pam_set_data.c: Likewise. * tests/tst-pam_set_item.c: Likewise. * tests/tst-pam_start.c: Likewise. * tests/tst-pam_start_confdir.c: Likewise.
* Fix various typos found using codespell toolDmitry V. Levin2020-03-281-1/+1
|
* Relevant BUGIDs:Thorsten Kukuk2006-11-281-1/+1
| | | | | | | | | Purpose of commit: bugfix Commit summary: --------------- fix last checkin for "make distcheck"
* Relevant BUGIDs:Thorsten Kukuk2006-11-281-0/+488
Purpose of commit: bugfix Commit summary: --------------- 2006-11-28 Thorsten Kukuk <kukuk@thkukuk.de> * tests/tst-pam_set_data.c: New test cases for pam_set_data(). * tests/Makefile.am: Add pam_set_data test case. * libpam/pam_data.c: Add NULL pointer check for module_data_name. * libpam/Makefile.am: Bump revision of shared library.