X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fopenssl%2Fdigest.h;h=66d54164e104abfb043364203d97764a1839ce37;hb=63106cf58402a3af96640727b499258d0eb529f1;hp=1b1389d1b0f91417e6a1705d186dc9d2064e9f3c;hpb=5822f817aa802c2c5a83e9d99a8ae78cb822799b;p=tinc diff --git a/src/openssl/digest.h b/src/openssl/digest.h index 1b1389d1..66d54164 100644 --- a/src/openssl/digest.h +++ b/src/openssl/digest.h @@ -3,7 +3,7 @@ /* digest.h -- header file digest.c - Copyright (C) 2013 Guus Sliepen + Copyright (C) 2013-2022 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -21,12 +21,13 @@ */ #include +#include struct digest { const EVP_MD *digest; - int maclength; - int keylength; - char *key; + HMAC_CTX *hmac_ctx; + EVP_MD_CTX *md_ctx; + size_t maclength; }; #endif