Fix compile-time issue with OpenSSL version of SHA-1 jet.

This commit is contained in:
Fang 2018-07-13 15:55:37 +02:00
parent 9498336f2a
commit e8103edb06

View File

@ -33,7 +33,7 @@
CC_SHA1_Update(&ctx_h, fat_y, wid);
CC_SHA1_Final(dig_y, &ctx_h);
#else
SHA1_CTX ctx_h;
SHA_CTX ctx_h;
SHA1_Init(&ctx_h);
SHA1_Update(&ctx_h, fat_y, wid);