aboutsummaryrefslogtreecommitdiff
path: root/cbits/btls.c
diff options
context:
space:
mode:
Diffstat (limited to 'cbits/btls.c')
-rw-r--r--cbits/btls.c5
1 files changed, 5 insertions, 0 deletions
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 <openssl/cipher.h>
#include <openssl/digest.h>
+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);
}