[sr-dev] [kamailio/kamailio] [4.4] tls: FTB with new openssl 1.1.0 (#834)

Victor Seva notifications at github.com
Thu Oct 27 16:56:14 CEST 2016


Even with
```
commit b29217e8036ead0d09c52616000d6b68d4512f86
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Thu Sep 15 19:33:04 2016 +0200

    auth_identity: still use ASN1_STRING_data() for libssl < v1.1.0
    
    - from libssl v1.1.0, ASN1_STRING_data() is deprecated, but before it
      doesn't exist
    - reported by Victor Seva, GH #685
    
    (cherry picked from commit 8a46f415fb13b76fa3b071eecd7dc0401f99759e)

commit 0f2a129e4f1790f8d6502ac224b480d60126fb09
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Thu Sep 15 16:30:30 2016 +0200

    auth_identity: switched to use pointer of X509_STORE_CTX
    
    - starting with libssl 1.1.0 the size of X509_STORE_CTX is not known at
      compile time, throwing error:
    
    error: storage size of 'ca_ctx' isn't known
       X509_STORE_CTX ca_ctx;
    
    - reported by Victor Seva, GH #685
    
    (cherry picked from commit 46f0f1c0f492c45c1b1bbcfd4a0cc63eb56480ea)
```
```
apt-cache policy libssl-dev
libssl-dev:
  Installed: 1.1.0b-1
  Candidate: 1.1.0b-1
  Version table:
 *** 1.1.0b-1 100
        100 /var/lib/dpkg/status
```
```
every-module group_include=ktls
Makefile:56: modules.lst: No such file or directory
Makefile:107: config.mak: No such file or directory
target architecture <x86_64>, host architecture <x86_64>
making config...
saving modules list...
CC (gcc) [M auth_identity.so]		auth_http.o
CC (gcc) [M auth_identity.so]		auth_hdrs.o
CC (gcc) [M auth_identity.so]		auth_tables.o
CC (gcc) [M auth_identity.so]		auth_identity.o
CC (gcc) [M auth_identity.so]		auth_crypt.o
CC (gcc) [M auth_identity.so]		auth_dynstr.o
LD (gcc) [M auth_identity.so]		auth_identity.so
CC (gcc) [M crypto.so]		crypto_uuid.o
CC (gcc) [M crypto.so]		crypto_mod.o
crypto_mod.c: In function 'w_crypto_aes_encrypt':
crypto_mod.c:161:17: error: storage size of 'en' isn't known
  EVP_CIPHER_CTX en;
                 ^~
crypto_mod.c:161:17: warning: unused variable 'en' [-Wunused-variable]
crypto_mod.c: In function 'w_crypto_aes_decrypt':
crypto_mod.c:241:17: error: storage size of 'de' isn't known
  EVP_CIPHER_CTX de;
                 ^~
crypto_mod.c:241:17: warning: unused variable 'de' [-Wunused-variable]
crypto_mod.c: In function 'crypto_aes_test':
crypto_mod.c:436:17: error: storage size of 'en' isn't known
  EVP_CIPHER_CTX en, de;
                 ^~
crypto_mod.c:436:21: error: storage size of 'de' isn't known
  EVP_CIPHER_CTX en, de;
                     ^~
crypto_mod.c:436:21: warning: unused variable 'de' [-Wunused-variable]
crypto_mod.c:436:17: warning: unused variable 'en' [-Wunused-variable]
  EVP_CIPHER_CTX en, de;
                 ^~
../../Makefile.rules:97: recipe for target 'crypto_mod.o' failed
make[1]: *** [crypto_mod.o] Error 1
Makefile:511: recipe for target 'modules' failed
make: *** [modules] Error 1
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/834
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20161027/d0aea314/attachment.html>


More information about the sr-dev mailing list