summaryrefslogtreecommitdiffstats
path: root/src/util/authtok.c
Commit message (Collapse)AuthorAgeFilesLines
* Making the authtok structure really opaque.Lukas Slebodnik2013-04-021-18/+30
| | | | | | | | | | | | | | | | | | | | Definition of structure sss_auth_token was removed from header file authtok.h and there left only declaration of this structure. Therefore only way how to use this structure is to use accessory function from same header file. To creating new empty authotok can only be used newly created function sss_authtok_new(). TALLOC context was removed from copy and setter functions, because pointer to stuct sss_auth_token is used as a memory context. All declaration of struct sss_auth_token variables was replaced with pointer to this structure and related changes was made in source code. Function copy_pam_data can copy from argument src which was dynamically allocated with function create_pam_data() or zero initialized struct pam_data allocated on stack. https://fedorahosted.org/sssd/ticket/1830
* Correct format security for talloc_named of auth tokensStephen Gallagher2013-01-161-1/+1
|
* Add authtok utility functions.Simo Sorce2013-01-101-0/+202
These functions allow handling of auth tokens in a completely opaque way, with clear semantics and accessor fucntions that guarantee consistency, proper access to data and error conditions.