]> www.average.org Git - pam_pcsc_cr.git/blobdiff - authfile.h
harmonize types
[pam_pcsc_cr.git] / authfile.h
index ad6fbc1db56243c27156df83184685a5c5e50b74..1a304f64de3fc2f9ce7d588abed2d3b21aa7e97a 100644 (file)
@@ -27,10 +27,10 @@ freely, subject to the following restrictions:
 void authfile_template(const char *template);
 
 struct _auth_obj authfile(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,
+               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