* FreeBSD 4.x doesn't have stdint.h, use inttypes.h instead (which is
also part of ISO C).
This commit is contained in:
parent
5dea0622d1
commit
26fd28432d
3 changed files with 3 additions and 3 deletions
|
@ -21,7 +21,7 @@
|
||||||
#ifndef _MD5_H
|
#ifndef _MD5_H
|
||||||
#define _MD5_H 1
|
#define _MD5_H 1
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <inttypes.h>
|
||||||
typedef uint32_t md5_uint32;
|
typedef uint32_t md5_uint32;
|
||||||
typedef uintptr_t md5_uintptr;
|
typedef uintptr_t md5_uintptr;
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#ifndef _SHA_H
|
#ifndef _SHA_H
|
||||||
#define _SHA_H
|
#define _SHA_H
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <inttypes.h>
|
||||||
|
|
||||||
/* The SHA block size and message digest sizes, in bytes */
|
/* The SHA block size and message digest sizes, in bytes */
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#ifndef _SHA256_H
|
#ifndef _SHA256_H
|
||||||
#define _SHA256_H 1
|
#define _SHA256_H 1
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <inttypes.h>
|
||||||
|
|
||||||
#define SHA_LBLOCK 16
|
#define SHA_LBLOCK 16
|
||||||
#define SHA_CBLOCK (SHA_LBLOCK*4) /* SHA treats input data as a
|
#define SHA_CBLOCK (SHA_LBLOCK*4) /* SHA treats input data as a
|
||||||
|
|
Loading…
Reference in a new issue