From e74149a7569afd1ea7d67c77f40c37471e7e3e58 Mon Sep 17 00:00:00 2001 From: Benjamin Barenblat Date: Fri, 28 Sep 2018 18:33:35 -0400 Subject: Begin implementing symmetric encryption Support RC4. Future commits will add support for more modern algorithms. --- cbits/btls.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cbits') diff --git a/cbits/btls.c b/cbits/btls.c index d4bfd62..38cf73a 100644 --- a/cbits/btls.c +++ b/cbits/btls.c @@ -12,8 +12,13 @@ // License for the specific language governing permissions and limitations under // the License. +#include #include +void btlsFinalizeEVPCipherCtx(EVP_CIPHER_CTX* const ctx) { + (void)EVP_CIPHER_CTX_cleanup(ctx); +} + void btlsFinalizeEVPMDCtx(EVP_MD_CTX* const ctx) { (void)EVP_MD_CTX_cleanup(ctx); } -- cgit v1.2.3