X-Git-Url: http://www.average.org/gitweb/?p=pam_pcsc_cr.git;a=blobdiff_plain;f=authfile.h;h=ad6fbc1db56243c27156df83184685a5c5e50b74;hp=6ac535ac81f9322f5b9e9dfdae43324b758de971;hb=HEAD;hpb=ee0824354abef3e422c32e931f52b4396263cab1 diff --git a/authfile.h b/authfile.h index 6ac535a..1a304f6 100644 --- a/authfile.h +++ b/authfile.h @@ -26,12 +26,11 @@ freely, subject to the following restrictions: void authfile_template(const char *template); -struct _auth_obj authfile(const char *tokenid, - const char *userid, const char *password, - void (*update_nonce)(char *nonce, const int nonsize), - const unsigned char *secret, const int secsize, - const unsigned char *payload, const int paysize, +struct _auth_obj authfile(const char *userid, const char *password, + void (*update_nonce)(char *nonce, const size_t nonsize), + const unsigned char *secret, const size_t secsize, + const unsigned char *payload, const size_t paysize, struct _auth_chunk (*fetch_key)(const unsigned char *chal, - const int csize)); + const size_t csize)); #endif