[openssl-dev] [openssl.org #4445] Configure does not honor enable-afalgeng
Working as intended. Closing. Matt -- Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4445 Please log in as guest with password guest if prompted -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
Re: [openssl-dev] [openssl.org #4445] Configure does not honor enable-afalgeng
On Fri, Mar 18, 2016 at 9:18 AM, Matt Caswell via RT wrote: > > > On 18/03/16 12:52, noloa...@gmail.com via RT wrote: >> I've configured with: >> >> ./config enable-afalgeng >> >> When I run the self tests, I see: >> >> ../test/recipes/30-test_afalg.t ... skipped: test_afalg not >> supported for this build > > You should not need to use enable-afalgeng at all. It is enabled by > default unless for some reason it is not supported by your system. > Reasons that it might not be supported: > > - You are not running Linux > - You are not building "shared" or have otherwise disabled dynamic-engines None of these work to enable it. I tried them incrementally, but did not list them because I don't care about them. $ ./config shared enable-pic enable-dso enable-engine enable-afalgeng This is what I am trying to test... Kernel version greater than 2.6 and less than 4.1. > - uname reports a kernel version less than 4.1.0 > - Your linux headers are less than 4.1.0 If the library is going to reject an option, then maybe it should produce an info, warning or error. Better, honor the configuration and these problems go away :) -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
Re: [openssl-dev] [openssl.org #4445] Configure does not honor enable-afalgeng
On 18/03/16 12:52, noloa...@gmail.com via RT wrote: > I've configured with: > > ./config enable-afalgeng > > When I run the self tests, I see: > > ../test/recipes/30-test_afalg.t ... skipped: test_afalg not > supported for this build You should not need to use enable-afalgeng at all. It is enabled by default unless for some reason it is not supported by your system. Reasons that it might not be supported: - You are not running Linux - You are not building "shared" or have otherwise disabled dynamic-engines - uname reports a kernel version less than 4.1.0 - Your linux headers are less than 4.1.0 Matt -- Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4445 Please log in as guest with password guest if prompted -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
Re: [openssl-dev] [openssl.org #4445] Configure does not honor enable-afalgeng
On 18/03/16 22:59, Kurt Roeckx via RT wrote: > On Fri, Mar 18, 2016 at 01:18:04PM +, Matt Caswell wrote: >> >> >> On 18/03/16 12:52, noloa...@gmail.com via RT wrote: >>> I've configured with: >>> >>> ./config enable-afalgeng >>> >>> When I run the self tests, I see: >>> >>> ../test/recipes/30-test_afalg.t ... skipped: test_afalg not >>> supported for this build >> >> You should not need to use enable-afalgeng at all. It is enabled by >> default unless for some reason it is not supported by your system. >> Reasons that it might not be supported: >> >> - You are not running Linux >> - You are not building "shared" or have otherwise disabled dynamic-engines >> - uname reports a kernel version less than 4.1.0 >> - Your linux headers are less than 4.1.0 > > Please note that the kernel something is build on might not be the > same as it's going to run on, so checking the current running > kernel version doesn't make sense for compiling it. Is there some > runtime detection of support in the kernel? Yes. There is runtime detection too. Matt -- Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4445 Please log in as guest with password guest if prompted -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
Re: [openssl-dev] [openssl.org #4445] Configure does not honor enable-afalgeng
On 18/03/16 22:59, Kurt Roeckx via RT wrote: > On Fri, Mar 18, 2016 at 01:18:04PM +, Matt Caswell wrote: >> >> >> On 18/03/16 12:52, noloa...@gmail.com via RT wrote: >>> I've configured with: >>> >>> ./config enable-afalgeng >>> >>> When I run the self tests, I see: >>> >>> ../test/recipes/30-test_afalg.t ... skipped: test_afalg not >>> supported for this build >> >> You should not need to use enable-afalgeng at all. It is enabled by >> default unless for some reason it is not supported by your system. >> Reasons that it might not be supported: >> >> - You are not running Linux >> - You are not building "shared" or have otherwise disabled dynamic-engines >> - uname reports a kernel version less than 4.1.0 >> - Your linux headers are less than 4.1.0 > > Please note that the kernel something is build on might not be the > same as it's going to run on, so checking the current running > kernel version doesn't make sense for compiling it. Is there some > runtime detection of support in the kernel? Yes. There is runtime detection too. Matt -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
Re: [openssl-dev] [openssl.org #4445] Configure does not honor enable-afalgeng
On 18/03/16 12:52, noloa...@gmail.com via RT wrote: > I've configured with: > > ./config enable-afalgeng > > When I run the self tests, I see: > > ../test/recipes/30-test_afalg.t ... skipped: test_afalg not > supported for this build You should not need to use enable-afalgeng at all. It is enabled by default unless for some reason it is not supported by your system. Reasons that it might not be supported: - You are not running Linux - You are not building "shared" or have otherwise disabled dynamic-engines - uname reports a kernel version less than 4.1.0 - Your linux headers are less than 4.1.0 Matt -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
Re: [openssl-dev] [openssl.org #4445] Configure does not honor enable-afalgeng
On Fri, Mar 18, 2016 at 9:18 AM, Matt Caswell via RT wrote: > > > On 18/03/16 12:52, noloa...@gmail.com via RT wrote: >> I've configured with: >> >> ./config enable-afalgeng >> >> When I run the self tests, I see: >> >> ../test/recipes/30-test_afalg.t ... skipped: test_afalg not >> supported for this build > > You should not need to use enable-afalgeng at all. It is enabled by > default unless for some reason it is not supported by your system. > Reasons that it might not be supported: > > - You are not running Linux > - You are not building "shared" or have otherwise disabled dynamic-engines None of these work to enable it. I tried them incrementally, but did not list them because I don't care about them. $ ./config shared enable-pic enable-dso enable-engine enable-afalgeng This is what I am trying to test... Kernel version greater than 2.6 and less than 4.1. > - uname reports a kernel version less than 4.1.0 > - Your linux headers are less than 4.1.0 If the library is going to reject an option, then maybe it should produce an info, warning or error. Better, honor the configuration and these problems go away :) -- Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4445 Please log in as guest with password guest if prompted -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
Re: [openssl-dev] [openssl.org #4445] Configure does not honor enable-afalgeng
On Fri, Mar 18, 2016 at 01:18:04PM +, Matt Caswell wrote: > > > On 18/03/16 12:52, noloa...@gmail.com via RT wrote: > > I've configured with: > > > > ./config enable-afalgeng > > > > When I run the self tests, I see: > > > > ../test/recipes/30-test_afalg.t ... skipped: test_afalg not > > supported for this build > > You should not need to use enable-afalgeng at all. It is enabled by > default unless for some reason it is not supported by your system. > Reasons that it might not be supported: > > - You are not running Linux > - You are not building "shared" or have otherwise disabled dynamic-engines > - uname reports a kernel version less than 4.1.0 > - Your linux headers are less than 4.1.0 Please note that the kernel something is build on might not be the same as it's going to run on, so checking the current running kernel version doesn't make sense for compiling it. Is there some runtime detection of support in the kernel? Kurt -- Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4445 Please log in as guest with password guest if prompted -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
[openssl-dev] [openssl.org #4445] Configure does not honor enable-afalgeng
I've configured with: ./config enable-afalgeng When I run the self tests, I see: ../test/recipes/30-test_afalg.t ... skipped: test_afalg not supported for this build That's coming from test/afalgtest.c and this block: #ifndef OPENSSL_NO_AFALGENG ... #else int main(int argc, char **argv) { fprintf(stderr, "AFALG not supported - skipping AFALG tests\n"); printf("PASS\n"); return 0; } #endif When I cat openssl/include/openssl/opensslconf.h, I see: #ifndef OPENSSL_NO_AFALGENG # define OPENSSL_NO_AFALGENG #endif It appears enable-afalgeng is not being honored. (I also tweaked engines/afalg/e_afalg.c, but I'm not getting that far). ** $ ./config enable-afalgeng Operating system: x86_64-whatever-linux2 Configuring for linux-x86_64 Configuring OpenSSL version 1.1.0-pre5-dev (0x0x1015L) no-crypto-mdebug [default] OPENSSL_NO_CRYPTO_MDEBUG (skip dir) no-crypto-mdebug-backtrace [forced] OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE (skip dir) no-dynamic-engine [forced] no-ec_nistp_64_gcc_128 [default] OPENSSL_NO_EC_NISTP_64_GCC_128 (skip dir) no-egd [default] OPENSSL_NO_EGD (skip dir) no-heartbeats [default] OPENSSL_NO_HEARTBEATS (skip dir) no-md2 [default] OPENSSL_NO_MD2 (skip dir) no-rc5 [default] OPENSSL_NO_RC5 (skip dir) no-sctp [default] OPENSSL_NO_SCTP (skip dir) no-shared [default] no-ssl-trace[default] OPENSSL_NO_SSL_TRACE (skip dir) no-ssl3 [default] OPENSSL_NO_SSL3 (skip dir) no-ssl3-method [default] OPENSSL_NO_SSL3_METHOD (skip dir) no-unit-test[default] OPENSSL_NO_UNIT_TEST (skip dir) no-weak-ssl-ciphers [default] OPENSSL_NO_WEAK_SSL_CIPHERS (skip dir) no-zlib [default] no-zlib-dynamic [default] Configuring for linux-x86_64 IsMK1MF =no CC=gcc CFLAG =-Wall -O3 -pthread -m64 -DL_ENDIAN -Wa,--noexecstack SHARED_CFLAG =-fPIC DEFINES =DSO_DLFCN HAVE_DLFCN_H OPENSSL_THREADS OPENSSL_NO_DYNAMIC_ENGINE OPENSSL_PIC OPENSSL_IA32_SSE2 OPENSSL_BN_ASM_MONT OPENSSL_BN_ASM_MONT5 OPENSSL_BN_ASM_GF2m SHA1_ASM SHA256_ASM SHA512_ASM MD5_ASM AES_ASM VPAES_ASM BSAES_ASM GHASH_ASM ECP_NISTZ256_ASM POLY1305_ASM LFLAG = PLIB_LFLAG= EX_LIBS =-ldl APPS_OBJ = CPUID_OBJ =x86_64cpuid.o UPLINK_OBJ= BN_ASM=asm/x86_64-gcc.o x86_64-mont.o x86_64-mont5.o x86_64-gf2m.o rsaz_exp.o rsaz-x86_64.o rsaz-avx2.o EC_ASM=ecp_nistz256.o ecp_nistz256-x86_64.o DES_ENC =des_enc.o fcrypt_b.o AES_ENC =aes-x86_64.o vpaes-x86_64.o bsaes-x86_64.o aesni-x86_64.o aesni-sha1-x86_64.o aesni-sha256-x86_64.o aesni-mb-x86_64.o BF_ENC=bf_enc.o CAST_ENC =c_enc.o RC4_ENC =rc4-x86_64.o rc4-md5-x86_64.o RC5_ENC =rc5_enc.o MD5_OBJ_ASM =md5-x86_64.o SHA1_OBJ_ASM =sha1-x86_64.o sha256-x86_64.o sha512-x86_64.o sha1-mb-x86_64.o sha256-mb-x86_64.o RMD160_OBJ_ASM= CMLL_ENC =cmll-x86_64.o cmll_misc.o MODES_OBJ =ghash-x86_64.o aesni-gcm-x86_64.o PADLOCK_OBJ =e_padlock-x86_64.o CHACHA_ENC=chacha-x86_64.o POLY1305_OBJ =poly1305-x86_64.o BLAKE2_OBJ= PROCESSOR = RANLIB=/usr/bin/ranlib ARFLAGS = PERL =/usr/bin/perl SIXTY_FOUR_BIT_LONG mode Configured for linux-x86_64. -- Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4445 Please log in as guest with password guest if prompted -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev