commit 15a049f596abb991a854fe81d079d013887d8b15
Author: Adam Gołębiowski <[email protected]>
Date:   Mon Oct 1 22:24:51 2018 +0200

    - release 2, add missing ctx creation calls in openssl-1.1 patch

 vtun-openssl-1.1.patch | 12 ++++++++++++
 vtun.spec              |  2 +-
 2 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/vtun.spec b/vtun.spec
index 8e41635..9488739 100644
--- a/vtun.spec
+++ b/vtun.spec
@@ -6,7 +6,7 @@ Summary:        Virtual tunnel over TCP/IP networks
 Summary(pl.UTF-8):     Wirtualne tunele poprzez sieci TCP/IP
 Name:          vtun
 Version:       3.0.4
-Release:       1
+Release:       2
 Epoch:         2
 License:       GPL v2+
 Group:         Networking/Daemons
diff --git a/vtun-openssl-1.1.patch b/vtun-openssl-1.1.patch
index 74dd57c..41e4b75 100644
--- a/vtun-openssl-1.1.patch
+++ b/vtun-openssl-1.1.patch
@@ -16,6 +16,18 @@
  
  static int send_msg(int len, char *in, char **out);
  static int recv_msg(int len, char *in, char **out);
+@@ -157,6 +157,11 @@ int alloc_encrypt(struct vtun_host *host
+    EVP_CIPHER_CTX *pctx_enc;
+    EVP_CIPHER_CTX *pctx_dec;
+ 
++   ctx_enc = EVP_CIPHER_CTX_new();
++   ctx_dec = EVP_CIPHER_CTX_new();
++   ctx_enc_ecb = EVP_CIPHER_CTX_new();
++   ctx_dec_ecb = EVP_CIPHER_CTX_new();
++
+    enc_init_first_time = 1;   
+    dec_init_first_time = 1;   
+ 
 @@ -182,15 +182,15 @@
           keysize = 32;
           sb_init = 1;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/vtun.git/commitdiff/15a049f596abb991a854fe81d079d013887d8b15

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to