[packages/libeap-ikev2] - prefer EVP_CIPHER_CTX_free over EVP_CIPHER_CTX_cleanup

adamg adamg at pld-linux.org
Wed Oct 24 14:52:14 CEST 2018


commit 0bfdb44e6ada8a9ec8bee936b9d5921abfdf7b55
Author: Adam Gołębiowski <adamg at pld-linux.org>
Date:   Wed Oct 24 14:51:58 2018 +0200

    - prefer EVP_CIPHER_CTX_free over EVP_CIPHER_CTX_cleanup

 libeap-ikev2-openssl-1.1.0.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libeap-ikev2-openssl-1.1.0.patch b/libeap-ikev2-openssl-1.1.0.patch
index 63993c5..5d6c14b 100644
--- a/libeap-ikev2-openssl-1.1.0.patch
+++ b/libeap-ikev2-openssl-1.1.0.patch
@@ -216,7 +216,7 @@ diff -bur libeap-ikev2-0.2.1.orig/src/encr.c libeap-ikev2-0.2.1/src/encr.c
      memcpy(data,dpt,dlen);
      free(dpt);
 -    EVP_CIPHER_CTX_cleanup(&ctx);
-+    EVP_CIPHER_CTX_cleanup(ctx);
++    EVP_CIPHER_CTX_free(ctx);
  }
 diff -bur libeap-ikev2-0.2.1.orig/src/hmac.c libeap-ikev2-0.2.1/src/hmac.c
 --- libeap-ikev2-0.2.1.orig/src/hmac.c	2006-09-16 01:26:08.000000000 +0200
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libeap-ikev2.git/commitdiff/0bfdb44e6ada8a9ec8bee936b9d5921abfdf7b55



More information about the pld-cvs-commit mailing list