* FreeBSD 4.x doesn't have stdint.h, use inttypes.h instead (which is

also part of ISO C).
This commit is contained in:
Eelco Dolstra 2005-05-04 16:32:54 +00:00
parent 5dea0622d1
commit 26fd28432d
3 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@
#ifndef _MD5_H
#define _MD5_H 1
#include <stdint.h>
#include <inttypes.h>
typedef uint32_t md5_uint32;
typedef uintptr_t md5_uintptr;

View File

@ -1,7 +1,7 @@
#ifndef _SHA_H
#define _SHA_H
#include <stdint.h>
#include <inttypes.h>
/* The SHA block size and message digest sizes, in bytes */

View File

@ -1,7 +1,7 @@
#ifndef _SHA256_H
#define _SHA256_H 1
#include <stdint.h>
#include <inttypes.h>
#define SHA_LBLOCK 16
#define SHA_CBLOCK (SHA_LBLOCK*4) /* SHA treats input data as a