From: Oliver Kurth Date: Sun, 21 Jul 2019 00:15:18 +0000 (-0700) Subject: Common header file change not applicable to open-vm-tools. X-Git-Tag: stable-11.1.0~327 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c9504606f49b0fe88f262e4dc17daadae2c5db4;p=thirdparty%2Fopen-vm-tools.git Common header file change not applicable to open-vm-tools. --- diff --git a/open-vm-tools/lib/include/sha1.h b/open-vm-tools/lib/include/sha1.h index aa492a241..e73074d36 100644 --- a/open-vm-tools/lib/include/sha1.h +++ b/open-vm-tools/lib/include/sha1.h @@ -151,14 +151,14 @@ typedef struct { #else struct evp_md_ctx_st *md; /* OpenSSL EVP_MD_CTX */ #endif -} CryptoSHA1_CTX; - -void CryptoSHA1_Init(CryptoSHA1_CTX *ctx); -void CryptoSHA1_Update(CryptoSHA1_CTX *ctx, - const unsigned char *data, - size_t len); -void CryptoSHA1_Final(unsigned char digest[SHA1_HASH_LEN], - CryptoSHA1_CTX *ctx); +} CryptoHash_SHA1_CTX; + +void CryptoHash_InitSHA1(CryptoHash_SHA1_CTX *ctx); +void CryptoHash_UpdateSHA1(CryptoHash_SHA1_CTX *ctx, + const void *data, + size_t len); +void CryptoHash_FinalSHA1(CryptoHash_SHA1_CTX *ctx, + unsigned char digest[SHA1_HASH_LEN]); void CryptoHash_ComputeSHA1(const void *data, size_t len, unsigned char digest[SHA1_HASH_LEN]); #endif