3 #ifndef SHA1OSSL_H_INCLUDED
4 #define SHA1OSSL_H_INCLUDED
7 #include <openssl/sha.h>
9 #define SHA1_CTX SHA_CTX
11 #ifdef SHA_BLOCK_LENGTH
12 #define SHA1_BLOCK_LENGTH SHA_BLOCK_LENGTH
14 #define SHA1_BLOCK_LENGTH SHA_CBLOCK
16 #define SHA1_DIGEST_LENGTH SHA_DIGEST_LENGTH
unsigned char buf[MIME_BUF_SIZE]
void SHA1_Finish(SHA1_CTX *ctx, char *buf)