]> git.pld-linux.org Git - packages/vtun.git/commitdiff
- release 2, add missing ctx creation calls in openssl-1.1 patch auto/th/vtun-3.0.4-2
authorAdam Gołębiowski <adamg@pld-linux.org>
Mon, 1 Oct 2018 20:24:51 +0000 (22:24 +0200)
committerAdam Gołębiowski <adamg@pld-linux.org>
Mon, 1 Oct 2018 20:24:51 +0000 (22:24 +0200)
vtun-openssl-1.1.patch
vtun.spec

index 74dd57c3f4eb971ce758aa0e011efe0e8ac8d337..41e4b75e6bff1877ad5e0d723938d5d0faf22bf4 100644 (file)
  
  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;
index 8e41635a50d069942cef044ec20f09dc3103d3e5..9488739e980dd039c2d76a66ed0da7ffc381989e 100644 (file)
--- 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
This page took 0.065836 seconds and 4 git commands to generate.