Am 12.02.2015 um 12:00 schrieb Andy Polyakov:
diff --git a/crypto/evp/c_allc.c b/crypto/evp/c_allc.c
index 174a419..7ae36d7 100644
--- a/crypto/evp/c_allc.c
+++ b/crypto/evp/c_allc.c
@@ -245,5 +245,8 @@ void OpenSSL_add_all_ciphers(void)
       EVP_add_cipher(EVP_camellia_256_ofb());
       EVP_add_cipher_alias(SN_camellia_256_cbc, "CAMELLIA256");
       EVP_add_cipher_alias(SN_camellia_256_cbc, "camellia256");
+    EVP_add_cipher(EVP_camellia_128_ctr());
+    EVP_add_cipher(EVP_camellia_192_ctr());
+    EVP_add_cipher(EVP_camellia_256_ctr());
   #endif
   }

We get build warnings and crashes during run in EVP_add_cipher().

Thanks. I'm on it. Out of curiosity, with which config do you get
crashes? I don't mean that this doesn't need fixing, I only want to have
a reference.

Thanks to you.

The crash occurred while using it during a CI build for Tomcat plus Tomcat native connector (tcnative) which in turn uses OpenSSL.

OpenSSL was build with "config --prefix=... shared enable-deprecated".

I don't have a full stack available. The Java HS-Error file says:

    [junit] #
[junit] # A fatal error has been detected by the Java Runtime Environment:
    [junit] #
[junit] # SIGSEGV (0xb) at pc=0x00007fb882f66ef9, pid=32437, tid=140431064893184
    [junit] #
[junit] # JRE version: Java(TM) SE Runtime Environment (8.0_25-b17) (build 1.8.0_25-b17) [junit] # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.25-b02 mixed mode linux-amd64 compressed oops)
    [junit] # Problematic frame:
    [junit] # C  [libcrypto.so.1.1.0+0x14fef9]  EVP_add_cipher+0x9
    [junit] #

Regards,

Rainer
_______________________________________________
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

Reply via email to