pkgsrc/devel/got/files/openbsd-compat/sha1.h
ryoon 6ae10f2b89 devel/got: import got-0.48
Game of Trees (Got) is a version control system which prioritizes ease
of use and simplicity over flexibility.
2021-01-29 20:35:11 +00:00

14 lines
313 B
C

#ifndef _OPENBSD_COMPAT_SHA1_H_
#define _OPENBSD_COMPAT_SHA1_H_
#include <sha.h>
#define SHA1_DIGEST_LENGTH SHA_DIGEST_LENGTH
#define SHA1_DIGEST_STRING_LENGTH (SHA1_DIGEST_LENGTH * 2 + 1)
#define SHA1_CTX SHA_CTX
#define SHA1Init SHA1_Init
#define SHA1Update SHA1_Update
#define SHA1Final SHA1_Final
#endif