diff options
| author | Allan Jude <allanjude@FreeBSD.org> | 2015-12-30 22:43:07 +0000 |
|---|---|---|
| committer | Allan Jude <allanjude@FreeBSD.org> | 2015-12-30 22:43:07 +0000 |
| commit | 2155bb238f8245c92772441f964d0e23247bb464 (patch) | |
| tree | 12247b119e71bb44ed83dadc7581550fdd65e5c2 /sys/crypto | |
| parent | 6f73b583d9e19e9c24751c5f7bbb64065037e938 (diff) | |
Notes
Diffstat (limited to 'sys/crypto')
| -rw-r--r-- | sys/crypto/sha1.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/crypto/sha1.h b/sys/crypto/sha1.h index 3686d7ddde51..d32aa8a17842 100644 --- a/sys/crypto/sha1.h +++ b/sys/crypto/sha1.h @@ -53,6 +53,7 @@ struct sha1_ctxt { } m; u_int8_t count; }; +typedef struct sha1_ctxt SHA1_CTX; #ifdef _KERNEL extern void sha1_init(struct sha1_ctxt *); @@ -61,7 +62,6 @@ extern void sha1_loop(struct sha1_ctxt *, const u_int8_t *, size_t); extern void sha1_result(struct sha1_ctxt *, caddr_t); /* compatibilty with other SHA1 source codes */ -typedef struct sha1_ctxt SHA1_CTX; #define SHA1Init(x) sha1_init((x)) #define SHA1Update(x, y, z) sha1_loop((x), (y), (z)) #define SHA1Final(x, y) sha1_result((y), (x)) |
