Ticket #28051: patch-otptool.h

File patch-otptool.h, 437 bytes (added by Markus.Ueberall@…, 13 years ago)

www/mod_authn_otp/files/patch-otptool.h

Line 
1--- otptool.h.orig      2010-08-16 00:38:07.000000000 +0200
2+++ otptool.h   2011-01-19 21:11:17.000000000 +0100
3@@ -45,4 +45,9 @@
4 #define DEFAULT_WINDOW              0
5 
6+typedef unsigned char u_char;
7+typedef unsigned short u_short;
8+typedef unsigned int u_int;
9+typedef unsigned long u_long;
10+
11 /* genotp.c */
12 extern void         hotp(const u_char *key, size_t keylen, u_long counter, int ndigits, char *buf10, char *buf16, size_t buflen);