[openssl-commits] Still FAILED build of OpenSSL branch master with options -d --strict-warnings no-tls1_2-method

2017-02-28 Thread OpenSSL run-checker
Platform and configuration command:

$ uname -a
Linux test 4.4.0-64-generic #85-Ubuntu SMP Mon Feb 20 11:50:30 UTC 2017 x86_64 
x86_64 x86_64 GNU/Linux
$ CC=clang ../openssl/config -d --strict-warnings no-tls1_2-method

Commit log since last time:

fa64210 Trace support for TLS 1.3 certificate request message
03f44b9 Initial incomplete TLS 1.3 certificate request support.
013bc44 Adjust the default value of the private key size

Build log ended with (last 100 lines):

../../openssl/test/recipes/30-test_afalg.t  ok
../../openssl/test/recipes/30-test_engine.t ... ok
../../openssl/test/recipes/30-test_evp.t .. ok
../../openssl/test/recipes/30-test_evp_extra.t  ok
../../openssl/test/recipes/30-test_pbelu.t  ok
../../openssl/test/recipes/30-test_pkey_meth.t  ok
../../openssl/test/recipes/40-test_rehash.t ... ok
../../openssl/test/recipes/60-test_x509_store.t ... ok
../../openssl/test/recipes/60-test_x509_time.t  ok
../../openssl/test/recipes/70-test_asyncio.t .. ok
../../openssl/test/recipes/70-test_bad_dtls.t . ok
../../openssl/test/recipes/70-test_clienthello.t .. ok
../../openssl/test/recipes/70-test_key_share.t  skipped: test_key_share 
needs TLS1.3 enabled
../../openssl/test/recipes/70-test_packet.t ... ok
../../openssl/test/recipes/70-test_renegotiation.t  ok
../../openssl/test/recipes/70-test_sslcbcpadding.t  skipped: 
test_sslcbcpadding needs TLSv1.2 enabled
../../openssl/test/recipes/70-test_sslcertstatus.t  ok
../../openssl/test/recipes/70-test_sslextension.t . ok
../../openssl/test/recipes/70-test_sslmessages.t .. ok
../../openssl/test/recipes/70-test_sslrecords.t ... skipped: 
test_sslrecords needs TLSv1.2 enabled
../../openssl/test/recipes/70-test_sslsessiontick.t ... ok
../../openssl/test/recipes/70-test_sslsigalgs.t ... skipped: 
test_sslsigalgs needs TLS1.2 or TLS1.3 enabled
../../openssl/test/recipes/70-test_sslsignature.t . ok
../../openssl/test/recipes/70-test_sslskewith0p.t . ok
../../openssl/test/recipes/70-test_sslversions.t .. skipped: 
test_sslversions needs TLS1.3, TLS1.2 and TLS1.1 enabled
../../openssl/test/recipes/70-test_sslvertol.t  ok
../../openssl/test/recipes/70-test_tls13kexmodes.t  skipped: 
test_tls13kexmodes needs TLSv1.3 enabled
../../openssl/test/recipes/70-test_tls13messages.t  skipped: 
test_tls13messages needs TLSv1.3 enabled
../../openssl/test/recipes/70-test_tlsextms.t . ok
../../openssl/test/recipes/70-test_verify_extra.t . ok
../../openssl/test/recipes/70-test_wpacket.t .. ok
../../openssl/test/recipes/80-test_ca.t ... ok
../../openssl/test/recipes/80-test_cipherbytes.t .. ok
../../openssl/test/recipes/80-test_cipherlist.t ... ok
../../openssl/test/recipes/80-test_cms.t .. ok
../../openssl/test/recipes/80-test_ct.t ... ok
../../openssl/test/recipes/80-test_dane.t . ok
../../openssl/test/recipes/80-test_dtls.t . ok
../../openssl/test/recipes/80-test_dtls_mtu.t . ok
../../openssl/test/recipes/80-test_dtlsv1listen.t . ok
../../openssl/test/recipes/80-test_ocsp.t . ok
../../openssl/test/recipes/80-test_pkcs12.t ... ok

#   Failed test 'running ssl_test 17-renegotiate.conf'
#   at ../../openssl/test/recipes/80-test_ssl_new.t line 130.
# Looks like you failed 1 test of 3.

#   Failed test 'Test configuration 17-renegotiate.conf'
#   at ../../openssl/test/recipes/80-test_ssl_new.t line 96.
# Looks like you failed 1 test of 21.
../../openssl/test/recipes/80-test_ssl_new.t .. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/21 subtests 
../../openssl/test/recipes/80-test_ssl_old.t .. ok
../../openssl/test/recipes/80-test_ssl_test_ctx.t . ok
../../openssl/test/recipes/80-test_sslcorrupt.t ... ok
../../openssl/test/recipes/80-test_tsa.t .. ok
../../openssl/test/recipes/80-test_x509aux.t .. ok
../../openssl/test/recipes/90-test_async.t  ok
../../openssl/test/recipes/90-test_bio_enc.t .. ok
../../openssl/test/recipes/90-test_bioprint.t . ok
../../openssl/test/recipes/90-test_constant_time.t  ok
../../openssl/test/recipes/90-test_external.t . skipped: No external 
tests in this configuration
../../openssl/test/recipes/90-test_gmdiff.t ... ok
../../openssl/test/recipes/90-test_ige.t .. ok
../../openssl/test/recipes/90-test_memleak.t .. ok
../../openssl/test/recipes/90-test_overhead.t . skipped: Only supported 
in no-shared builds
../../openssl/test/recipes/90-test_p5_crpt2.t . ok
../../openssl/test/recipes/90-test_secmem.t ... ok
../../openssl/test/recipes/90-test_shlibload.t  ok
../../openssl/test/recipes/90-test_srp.t .. ok

#   Failed test 'running sslapitest'
#   at ../../openssl/test/recipes/90-test_sslapi.t line 20

[openssl-commits] Still FAILED build of OpenSSL branch master with options -d --strict-warnings no-dtls1_2-method

2017-02-28 Thread OpenSSL run-checker
Platform and configuration command:

$ uname -a
Linux test 4.4.0-64-generic #85-Ubuntu SMP Mon Feb 20 11:50:30 UTC 2017 x86_64 
x86_64 x86_64 GNU/Linux
$ CC=clang ../openssl/config -d --strict-warnings no-dtls1_2-method

Commit log since last time:

fa64210 Trace support for TLS 1.3 certificate request message
03f44b9 Initial incomplete TLS 1.3 certificate request support.
013bc44 Adjust the default value of the private key size

Build log ended with (last 100 lines):

../../openssl/test/recipes/20-test_enc_more.t . ok
../../openssl/test/recipes/20-test_passwd.t ... ok
../../openssl/test/recipes/25-test_crl.t .. ok
../../openssl/test/recipes/25-test_d2i.t .. ok
../../openssl/test/recipes/25-test_pkcs7.t  ok
../../openssl/test/recipes/25-test_req.t .. ok
../../openssl/test/recipes/25-test_sid.t .. ok
../../openssl/test/recipes/25-test_verify.t ... ok
../../openssl/test/recipes/25-test_x509.t . ok
../../openssl/test/recipes/30-test_afalg.t  ok
../../openssl/test/recipes/30-test_engine.t ... ok
../../openssl/test/recipes/30-test_evp.t .. ok
../../openssl/test/recipes/30-test_evp_extra.t  ok
../../openssl/test/recipes/30-test_pbelu.t  ok
../../openssl/test/recipes/30-test_pkey_meth.t  ok
../../openssl/test/recipes/40-test_rehash.t ... ok
../../openssl/test/recipes/60-test_x509_store.t ... ok
../../openssl/test/recipes/60-test_x509_time.t  ok
../../openssl/test/recipes/70-test_asyncio.t .. ok
../../openssl/test/recipes/70-test_bad_dtls.t . ok
../../openssl/test/recipes/70-test_clienthello.t .. ok
../../openssl/test/recipes/70-test_key_share.t  skipped: test_key_share 
needs TLS1.3 enabled
../../openssl/test/recipes/70-test_packet.t ... ok
../../openssl/test/recipes/70-test_renegotiation.t  ok
../../openssl/test/recipes/70-test_sslcbcpadding.t  ok
../../openssl/test/recipes/70-test_sslcertstatus.t  ok
../../openssl/test/recipes/70-test_sslextension.t . ok
../../openssl/test/recipes/70-test_sslmessages.t .. ok
../../openssl/test/recipes/70-test_sslrecords.t ... ok
../../openssl/test/recipes/70-test_sslsessiontick.t ... ok
../../openssl/test/recipes/70-test_sslsigalgs.t ... ok
../../openssl/test/recipes/70-test_sslsignature.t . ok
../../openssl/test/recipes/70-test_sslskewith0p.t . ok
../../openssl/test/recipes/70-test_sslversions.t .. skipped: 
test_sslversions needs TLS1.3, TLS1.2 and TLS1.1 enabled
../../openssl/test/recipes/70-test_sslvertol.t  ok
../../openssl/test/recipes/70-test_tls13kexmodes.t  skipped: 
test_tls13kexmodes needs TLSv1.3 enabled
../../openssl/test/recipes/70-test_tls13messages.t  skipped: 
test_tls13messages needs TLSv1.3 enabled
../../openssl/test/recipes/70-test_tlsextms.t . ok
../../openssl/test/recipes/70-test_verify_extra.t . ok
../../openssl/test/recipes/70-test_wpacket.t .. ok
../../openssl/test/recipes/80-test_ca.t ... ok
../../openssl/test/recipes/80-test_cipherbytes.t .. ok
../../openssl/test/recipes/80-test_cipherlist.t ... ok
../../openssl/test/recipes/80-test_cms.t .. ok
../../openssl/test/recipes/80-test_ct.t ... ok
../../openssl/test/recipes/80-test_dane.t . ok
../../openssl/test/recipes/80-test_dtls.t . ok
../../openssl/test/recipes/80-test_dtls_mtu.t . skipped: test_dtls_mtu 
needs DTLS and PSK support enabled
../../openssl/test/recipes/80-test_dtlsv1listen.t . ok
../../openssl/test/recipes/80-test_ocsp.t . ok
../../openssl/test/recipes/80-test_pkcs12.t ... ok

#   Failed test 'running ssl_test 18-dtls-renegotiate.conf'
#   at ../../openssl/test/recipes/80-test_ssl_new.t line 130.
# Looks like you failed 1 test of 3.

#   Failed test 'Test configuration 18-dtls-renegotiate.conf'
#   at ../../openssl/test/recipes/80-test_ssl_new.t line 96.
# Looks like you failed 1 test of 21.
../../openssl/test/recipes/80-test_ssl_new.t .. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/21 subtests 
../../openssl/test/recipes/80-test_ssl_old.t .. ok
../../openssl/test/recipes/80-test_ssl_test_ctx.t . ok
../../openssl/test/recipes/80-test_sslcorrupt.t ... ok
../../openssl/test/recipes/80-test_tsa.t .. ok
../../openssl/test/recipes/80-test_x509aux.t .. ok
../../openssl/test/recipes/90-test_async.t  ok
../../openssl/test/recipes/90-test_bio_enc.t .. ok
../../openssl/test/recipes/90-test_bioprint.t . ok
../../openssl/test/recipes/90-test_constant_time.t  ok
../../openssl/test/recipes/90-test_external.t . skipped: No external 
tests in this configuration
../../openssl/test/recipes/90-test_gmdiff.t ... ok
../../openssl/test/recipes/90-test_ige.t .. ok
../../openssl/test/recipes/90-test_memlea

[openssl-commits] Still FAILED build of OpenSSL branch master with options -d --strict-warnings no-asm -ansi

2017-02-28 Thread OpenSSL run-checker
Platform and configuration command:

$ uname -a
Linux test 4.4.0-64-generic #85-Ubuntu SMP Mon Feb 20 11:50:30 UTC 2017 x86_64 
x86_64 x86_64 GNU/Linux
$ CC=clang ../openssl/config -d --strict-warnings no-asm -ansi

Commit log since last time:

fa64210 Trace support for TLS 1.3 certificate request message
03f44b9 Initial incomplete TLS 1.3 certificate request support.
013bc44 Adjust the default value of the private key size

Build log ended with (last 100 lines):

make[1]: Entering directory '/home/openssl/run-checker/no-asm_-ansi'
clang  -I. -Icrypto/include -Iinclude -I../openssl -I../openssl/crypto/include 
-I../openssl/include -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_THREADS 
-DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSLDIR="\"/usr/local/ssl\"" 
-DENGINESDIR="\"/usr/local/lib/engines-1.1\"" -Wall -O0 -g -pthread -m64 
-DL_ENDIAN -Wextra -Qunused-arguments  -DDEBUG_UNUSED -Wswitch -DPEDANTIC 
-pedantic -Wno-long-long -Wall -Wsign-compare -Wmissing-prototypes -Wshadow 
-Wformat -Wtype-limits -Wundef -Werror -Qunused-arguments -Wextra 
-Wswitch-default -Wno-unused-parameter -Wno-parentheses-equality 
-Wno-missing-field-initializers -Wno-language-extension-token 
-Wno-extended-offsetof -Wconditional-uninitialized 
-Wincompatible-pointer-types-discards-qualifiers 
-Wmissing-variable-declarations -ansi -fPIC -DOPENSSL_USE_NODELETE -MMD -MF 
crypto/aes/aes_cbc.d.tmp -MT crypto/aes/aes_cbc.o -c -o crypto/aes/aes_cbc.o 
../openssl/crypto/aes/aes_cbc.c
clang  -I. -Icrypto/include -Iinclude -I../openssl -I../openssl/crypto/include 
-I../openssl/include -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_THREADS 
-DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSLDIR="\"/usr/local/ssl\"" 
-DENGINESDIR="\"/usr/local/lib/engines-1.1\"" -Wall -O0 -g -pthread -m64 
-DL_ENDIAN -Wextra -Qunused-arguments  -DDEBUG_UNUSED -Wswitch -DPEDANTIC 
-pedantic -Wno-long-long -Wall -Wsign-compare -Wmissing-prototypes -Wshadow 
-Wformat -Wtype-limits -Wundef -Werror -Qunused-arguments -Wextra 
-Wswitch-default -Wno-unused-parameter -Wno-parentheses-equality 
-Wno-missing-field-initializers -Wno-language-extension-token 
-Wno-extended-offsetof -Wconditional-uninitialized 
-Wincompatible-pointer-types-discards-qualifiers 
-Wmissing-variable-declarations -ansi -fPIC -DOPENSSL_USE_NODELETE -MMD -MF 
crypto/aes/aes_cfb.d.tmp -MT crypto/aes/aes_cfb.o -c -o crypto/aes/aes_cfb.o 
../openssl/crypto/aes/aes_cfb.c
clang  -I. -Icrypto/include -Iinclude -I../openssl -I../openssl/crypto/include 
-I../openssl/include -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_THREADS 
-DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSLDIR="\"/usr/local/ssl\"" 
-DENGINESDIR="\"/usr/local/lib/engines-1.1\"" -Wall -O0 -g -pthread -m64 
-DL_ENDIAN -Wextra -Qunused-arguments  -DDEBUG_UNUSED -Wswitch -DPEDANTIC 
-pedantic -Wno-long-long -Wall -Wsign-compare -Wmissing-prototypes -Wshadow 
-Wformat -Wtype-limits -Wundef -Werror -Qunused-arguments -Wextra 
-Wswitch-default -Wno-unused-parameter -Wno-parentheses-equality 
-Wno-missing-field-initializers -Wno-language-extension-token 
-Wno-extended-offsetof -Wconditional-uninitialized 
-Wincompatible-pointer-types-discards-qualifiers 
-Wmissing-variable-declarations -ansi -fPIC -DOPENSSL_USE_NODELETE -MMD -MF 
crypto/aes/aes_core.d.tmp -MT crypto/aes/aes_core.o -c -o crypto/aes/aes_core.o 
../openssl/crypto/aes/aes_core.c
clang  -I. -Icrypto/include -Iinclude -I../openssl -I../openssl/crypto/include 
-I../openssl/include -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_THREADS 
-DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSLDIR="\"/usr/local/ssl\"" 
-DENGINESDIR="\"/usr/local/lib/engines-1.1\"" -Wall -O0 -g -pthread -m64 
-DL_ENDIAN -Wextra -Qunused-arguments  -DDEBUG_UNUSED -Wswitch -DPEDANTIC 
-pedantic -Wno-long-long -Wall -Wsign-compare -Wmissing-prototypes -Wshadow 
-Wformat -Wtype-limits -Wundef -Werror -Qunused-arguments -Wextra 
-Wswitch-default -Wno-unused-parameter -Wno-parentheses-equality 
-Wno-missing-field-initializers -Wno-language-extension-token 
-Wno-extended-offsetof -Wconditional-uninitialized 
-Wincompatible-pointer-types-discards-qualifiers 
-Wmissing-variable-declarations -ansi -fPIC -DOPENSSL_USE_NODELETE -MMD -MF 
crypto/aes/aes_ecb.d.tmp -MT crypto/aes/aes_ecb.o -c -o crypto/aes/aes_ecb.o 
../openssl/crypto/aes/aes_ecb.c
clang  -I. -Icrypto/include -Iinclude -I../openssl -I../openssl/crypto/include 
-I../openssl/include -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_THREADS 
-DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSLDIR="\"/usr/local/ssl\"" 
-DENGINESDIR="\"/usr/local/lib/engines-1.1\"" -Wall -O0 -g -pthread -m64 
-DL_ENDIAN -Wextra -Qunused-arguments  -DDEBUG_UNUSED -Wswitch -DPEDANTIC 
-pedantic -Wno-long-long -Wall -Wsign-compare -Wmissing-prototypes -Wshadow 
-Wformat -Wtype-limits -Wundef -Werror -Qunused-arguments -Wextra 
-Wswitch-default -Wno-unused-parameter -Wno-parentheses-equality 
-Wno-missing-field-initializers -Wno-language-extension-token 
-Wno-extended-offsetof -Wconditional-uninitialized 
-Wincompatible-pointer-t

[openssl-commits] Build completed: openssl master.8322

2017-02-28 Thread AppVeyor


Build openssl master.8322 completed



Commit a5b480d89c by Richard Levitte on 2/28/2017 7:15 AM:

Code cleanup: remove the VMS specific reimplementation of gmtime


Configure your notification preferences

_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] [openssl] master update

2017-02-28 Thread Dr . Stephen Henson
The branch master has been updated
   via  d86f2f26c8212342de45f3e7bda1e25ef8d9419a (commit)
  from  9664512726854262f29844bbc30bafd3438e27c2 (commit)


- Log -
commit d86f2f26c8212342de45f3e7bda1e25ef8d9419a
Author: Dr. Stephen Henson 
Date:   Tue Feb 28 05:17:11 2017 +

Remove ancient demoCA directory

Reviewed-by: Tim Hudson 
(Merged from https://github.com/openssl/openssl/pull/2760)

---

Summary of changes:
 apps/demoCA/cacert.pem| 14 --
 apps/demoCA/index.txt | 39 ---
 apps/demoCA/private/cakey.pem | 24 
 apps/demoCA/serial|  1 -
 4 files changed, 78 deletions(-)
 delete mode 100644 apps/demoCA/cacert.pem
 delete mode 100644 apps/demoCA/index.txt
 delete mode 100644 apps/demoCA/private/cakey.pem
 delete mode 100644 apps/demoCA/serial

diff --git a/apps/demoCA/cacert.pem b/apps/demoCA/cacert.pem
deleted file mode 100644
index affbce3..000
--- a/apps/demoCA/cacert.pem
+++ /dev/null
@@ -1,14 +0,0 @@
-subject=/C=AU/SOP=QLD/O=Mincom Pty. Ltd./OU=CS/CN=SSLeay demo server
-issuer= /C=AU/SOP=QLD/O=Mincom Pty. Ltd./OU=CS/CN=CA
--BEGIN X509 CERTIFICATE-
-
-MIIBgjCCASwCAQQwDQYJKoZIhvcNAQEEBQAwODELMAkGA1UEBhMCQVUxDDAKBgNV
-BAgTA1FMRDEbMBkGA1UEAxMSU1NMZWF5L3JzYSB0ZXN0IENBMB4XDTk1MTAwOTIz
-MzIwNVoXDTk4MDcwNTIzMzIwNVowYDELMAkGA1UEBhMCQVUxDDAKBgNVBAgTA1FM
-RDEZMBcGA1UEChMQTWluY29tIFB0eS4gTHRkLjELMAkGA1UECxMCQ1MxGzAZBgNV
-BAMTElNTTGVheSBkZW1vIHNlcnZlcjBcMA0GCSqGSIb3DQEBAQUAA0sAMEgCQQC3
-LCXcScWua0PFLkHBLm2VejqpA1F4RQ8q0VjRiPafjx/Z/aWH3ipdMVvuJGa/wFXb
-/nDFLDlfWp+oCPwhBtVPAgMBAAEwDQYJKoZIhvcNAQEEBQADQQArNFsihWIjBzb0
-DCsU0BvL2bvSwJrPEqFlkDq3F4M6EGutL9axEcANWgbbEdAvNJD1dmEmoWny27Pn
-IMs6ZOZB
--END X509 CERTIFICATE-
diff --git a/apps/demoCA/index.txt b/apps/demoCA/index.txt
deleted file mode 100644
index 2cdd252..000
--- a/apps/demoCA/index.txt
+++ /dev/null
@@ -1,39 +0,0 @@
-R  980705233205Z   951009233205Z   01  certs/0001  /CN=Eric Young
-E  951009233205Z   02  certs/0002  /CN=Duncan Young
-R  980705233205Z   95120101Z   03  certs/0003  /CN=Tim Hudson
-V  980705233205Z   04  certs/0004  /CN=Eric Young4
-V  980705233205Z   05  certs/0004  /CN=Eric Young5
-V  980705233205Z   06  certs/0004  /CN=Eric Young6
-V  980705233205Z   07  certs/0004  /CN=Eric Young7
-V  980705233205Z   08  certs/0004  /CN=Eric Young8
-V  980705233205Z   09  certs/0004  /CN=Eric Young9
-V  980705233205Z   0A  certs/0004  /CN=Eric YoungA
-V  980705233205Z   0B  certs/0004  /CN=Eric YoungB
-V  980705233205Z   0C  certs/0004  /CN=Eric YoungC
-V  980705233205Z   0D  certs/0004  /CN=Eric YoungD
-V  980705233205Z   0E  certs/0004  /CN=Eric YoungE
-V  980705233205Z   0F  certs/0004  /CN=Eric YoungF
-V  980705233205Z   10  certs/0004  /CN=Eric Young10
-V  980705233205Z   11  certs/0004  /CN=Eric Young11
-V  980705233205Z   12  certs/0004  /CN=Eric Young12
-V  980705233205Z   13  certs/0004  /CN=Eric Young13
-V  980705233205Z   14  certs/0004  /CN=Eric Young14
-V  980705233205Z   15  certs/0004  /CN=Eric Young15
-V  980705233205Z   16  certs/0004  /CN=Eric Young16
-V  980705233205Z   17  certs/0004  /CN=Eric Young17
-V  961206150305Z   010Cunknown /C=AU/SP=QLD/O=Mincom Pty. 
Ltd./OU=MTR/CN=Eric Young/Email=e...@mincom.oz.au
-V  961206153245Z   010Dunknown /C=AU/SP=Queensland/O=Mincom 
Pty Ltd/OU=MTR/CN=Eric Young/Email=e...@mincom.oz.au
-V  970322074816Z   010Eunknown /CN=Eric 
Young/Email=e...@mincom.oz.au
-V  970322075152Z   010Funknown /CN=Eric Young
-V  970322075906Z   0110unknown /CN=Eric Youngg
-V  970324092238Z   0111unknown /C=AU/SP=Queensland/CN=Eric 
Young
-V  970324221931Z   0112unknown /CN=Fred
-V  970324224934Z   0113unknown /C=AU/CN=eay
-V  971001005237Z   0114unknown /C=AU/SP=QLD/O=Mincom Pty 
Ltd/OU=MTR/CN=x509v3 test
-V  971001010331Z   0115unknown /C=AU/SP=Queensland/O=Mincom 
Pty Ltd/OU=MTR/CN=test again - x509v3
-V  971001013945Z   0117unknown /C=AU/SP=Queensland/O=Mincom 
Pty Ltd/OU=MTR/CN=x509v3 test
-V  971014225415Z   0118unknown /C=AU/SP=Queensland/CN=test
-V  971015004448Z   0119unknown /C=AU/SP=Queensland/O=Mincom 
Pty Ltd/OU=MTR/CN=test2
-V  971016035001Z   011Aunknown /C=AU/SP=Queensland/

[openssl-commits] [openssl] master update

2017-02-28 Thread Emilia Kasper
The branch master has been updated
   via  5c2ee53f71ac51c67556cb2b3fb98f5b141efd8a (commit)
   via  ebc354a0858711150ee19c40c808dec9dd9bc5cd (commit)
  from  d86f2f26c8212342de45f3e7bda1e25ef8d9419a (commit)


- Log -
commit 5c2ee53f71ac51c67556cb2b3fb98f5b141efd8a
Author: Emilia Kasper 
Date:   Tue Feb 28 11:37:22 2017 +0100

Remove dead code in crypto/pkcs7

Reviewed-by: Stephen Henson 

commit ebc354a0858711150ee19c40c808dec9dd9bc5cd
Author: Emilia Kasper 
Date:   Tue Feb 28 11:33:38 2017 +0100

Remove methtest.c

This file tests code that doesn't exist.

Reviewed-by: Stephen Henson 

---

Summary of changes:
 crypto/pkcs7/pk7_dgst.c | 15 -
 crypto/pkcs7/pk7_enc.c  | 25 --
 test/methtest.c | 57 -
 3 files changed, 97 deletions(-)
 delete mode 100644 crypto/pkcs7/pk7_dgst.c
 delete mode 100644 crypto/pkcs7/pk7_enc.c
 delete mode 100644 test/methtest.c

diff --git a/crypto/pkcs7/pk7_dgst.c b/crypto/pkcs7/pk7_dgst.c
deleted file mode 100644
index 965fb37..000
--- a/crypto/pkcs7/pk7_dgst.c
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
- *
- * Licensed under the OpenSSL license (the "License").  You may not use
- * this file except in compliance with the License.  You can obtain a copy
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#include 
-#include "internal/cryptlib.h"
-#include 
-#include 
-#include 
-#include 
diff --git a/crypto/pkcs7/pk7_enc.c b/crypto/pkcs7/pk7_enc.c
deleted file mode 100644
index 3c59f9c..000
--- a/crypto/pkcs7/pk7_enc.c
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
- *
- * Licensed under the OpenSSL license (the "License").  You may not use
- * this file except in compliance with the License.  You can obtain a copy
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#include 
-#include "internal/cryptlib.h"
-#include 
-#include 
-#include 
-#include 
-
-PKCS7_in_bio(PKCS7 *p7, BIO *in);
-PKCS7_out_bio(PKCS7 *p7, BIO *out);
-
-PKCS7_add_signer(PKCS7 *p7, X509 *cert, EVP_PKEY *key);
-PKCS7_cipher(PKCS7 *p7, EVP_CIPHER *cipher);
-
-PKCS7_Init(PKCS7 *p7);
-PKCS7_Update(PKCS7 *p7);
-PKCS7_Finish(PKCS7 *p7);
diff --git a/test/methtest.c b/test/methtest.c
deleted file mode 100644
index 11aa233..000
--- a/test/methtest.c
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
- * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
- *
- * Licensed under the OpenSSL license (the "License").  You may not use
- * this file except in compliance with the License.  You can obtain a copy
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#include 
-#include 
-#include 
-#include 
-#include "meth.h"
-#include 
-
-int main(argc, argv)
-int argc;
-char *argv[];
-{
-METHOD_CTX *top, *tmp1, *tmp2;
-
-top = METH_new(x509_lookup()); /* get a top level context */
-if (top == NULL)
-goto err;
-
-tmp1 = METH_new(x509_by_file());
-if (top == NULL)
-goto err;
-METH_arg(tmp1, METH_TYPE_FILE, "cafile1");
-METH_arg(tmp1, METH_TYPE_FILE, "cafile2");
-METH_push(top, METH_X509_CA_BY_SUBJECT, tmp1);
-
-tmp2 = METH_new(x509_by_dir());
-METH_arg(tmp2, METH_TYPE_DIR, "/home/eay/.CAcerts");
-METH_arg(tmp2, METH_TYPE_DIR, "/home/eay/SSLeay/certs");
-METH_arg(tmp2, METH_TYPE_DIR, "/usr/local/ssl/certs");
-METH_push(top, METH_X509_CA_BY_SUBJECT, tmp2);
-
-/*- tmp=METH_new(x509_by_issuer_dir);
-METH_arg(tmp,METH_TYPE_DIR,"/home/eay/.mycerts");
-METH_push(top,METH_X509_BY_ISSUER,tmp);
-
-tmp=METH_new(x509_by_issuer_primary);
-METH_arg(tmp,METH_TYPE_FILE,"/home/eay/.mycerts/primary.pem");
-METH_push(top,METH_X509_BY_ISSUER,tmp);
-*/
-
-METH_init(top);
-METH_control(tmp1, METH_CONTROL_DUMP, stdout);
-METH_control(tmp2, METH_CONTROL_DUMP, stdout);
-EXIT(0);
- err:
-ERR_print_errors_fp(stderr);
-EXIT(1);
-return (0);
-}
_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] [openssl] master update

2017-02-28 Thread Richard Levitte
The branch master has been updated
   via  9d70ac97d9d8720e6ed280609c844da403b80440 (commit)
  from  5c2ee53f71ac51c67556cb2b3fb98f5b141efd8a (commit)


- Log -
commit 9d70ac97d9d8720e6ed280609c844da403b80440
Author: Richard Levitte 
Date:   Tue Feb 28 08:15:31 2017 +0100

Code cleanup: remove the VMS specific reimplementation of gmtime

This reimplementation was necessary before VMS C V7.1.  Since that's
the minimum version we support in this OpenSSL version, the
reimplementation is no longer needed.

Reviewed-by: Matt Caswell 
(Merged from https://github.com/openssl/openssl/pull/2762)

---

Summary of changes:
 CHANGES |   5 ++
 crypto/o_time.c | 190 +---
 2 files changed, 7 insertions(+), 188 deletions(-)

diff --git a/CHANGES b/CHANGES
index cda3790..9f16dd4 100644
--- a/CHANGES
+++ b/CHANGES
@@ -4,6 +4,11 @@
 
  Changes between 1.1.0e and 1.1.1 [xx XXX ]
 
+  *) Remove the VMS-specific reimplementation of gmtime from crypto/o_times.c.
+ VMS C's RTL has a fully up to date gmtime() and gmtime_r() since V7.1,
+ which is the minimum version we support.
+ [Richard Levitte]
+
   *) Certificate time validation (X509_cmp_time) enforces stricter
  compliance with RFC 5280. Fractional seconds and timezone offsets
  are no longer allowed.
diff --git a/crypto/o_time.c b/crypto/o_time.c
index 4b902e0..aa74340 100755
--- a/crypto/o_time.c
+++ b/crypto/o_time.c
@@ -11,51 +11,15 @@
 #include 
 #include 
 
-#ifdef OPENSSL_SYS_VMS
-# if __CRTL_VER >= 7000 && \
- (defined _POSIX_C_SOURCE || !defined _ANSI_C_SOURCE)
-#  define VMS_GMTIME_OK
-# endif
-# ifndef VMS_GMTIME_OK
-#  include 
-#  include 
-#  include 
-#  include 
-#  include 
-#  include 
-# endif /* ndef VMS_GMTIME_OK */
-
-
-/*
- * Needed to pick up the correct definitions and declarations in some of the
- * DEC C Header Files (*.H).
- */
-# define __NEW_STARLET 1
-
-# if (defined(__alpha) || defined(__ia64))
-#  include 
-# else
-
-/* VAX */
-typedef struct _ile3 {  /* Copied from ILEDEF.H for Alpha   */
-#  pragma __nomember_alignment
-unsigned short int ile3$w_length;/* Length of buffer in bytes */
-unsigned short int ile3$w_code;  /* Item code value */
-void *ile3$ps_bufaddr;   /* Buffer address */
-unsigned short int *ile3$ps_retlen_addr; /* Address of word for returned 
length */
-} ILE3;
-# endif   /* alpha || ia64*/
-#endif/* OPENSSL_SYS_VMS  */
-
 struct tm *OPENSSL_gmtime(const time_t *timer, struct tm *result)
 {
 struct tm *ts = NULL;
 
-#if defined(OPENSSL_THREADS) && !defined(OPENSSL_SYS_WIN32) && 
(!defined(OPENSSL_SYS_VMS) || defined(gmtime_r)) && !defined(OPENSSL_SYS_MACOSX)
+#if defined(OPENSSL_THREADS) && !defined(OPENSSL_SYS_WIN32) && 
!defined(OPENSSL_SYS_MACOSX)
 if (gmtime_r(timer, result) == NULL)
 return NULL;
 ts = result;
-#elif !defined(OPENSSL_SYS_VMS) || defined(VMS_GMTIME_OK)
+#else
 ts = gmtime(timer);
 if (ts == NULL)
 return NULL;
@@ -63,156 +27,6 @@ struct tm *OPENSSL_gmtime(const time_t *timer, struct tm 
*result)
 memcpy(result, ts, sizeof(struct tm));
 ts = result;
 #endif
-#if defined( OPENSSL_SYS_VMS) && !defined( VMS_GMTIME_OK)
-if (ts == NULL) {
-static $DESCRIPTOR(tabnam, "LNM$DCL_LOGICAL");
-static $DESCRIPTOR(lognam, "SYS$TIMEZONE_DIFFERENTIAL");
-char logvalue[256];
-unsigned int reslen = 0;
-# if __INITIAL_POINTER_SIZE == 64
-ILEB_64 itemlist[2], *pitem;
-# else
-ILE3 itemlist[2], *pitem;
-# endif
-int status;
-time_t t;
-
-
-/*
- * Setup an itemlist for the call to $TRNLNM - Translate Logical Name.
- */
-pitem = itemlist;
-
-# if __INITIAL_POINTER_SIZE == 64
-pitem->ileb_64$w_mbo = 1;
-pitem->ileb_64$w_code = LNM$_STRING;
-pitem->ileb_64$l_mbmo = -1;
-pitem->ileb_64$q_length = sizeof (logvalue);
-pitem->ileb_64$pq_bufaddr = logvalue;
-pitem->ileb_64$pq_retlen_addr = (unsigned __int64 *) &reslen;
-pitem++;
-/* Last item of the item list is null terminated */
-pitem->ileb_64$q_length = pitem->ileb_64$w_code = 0;
-# else
-pitem->ile3$w_length = sizeof (logvalue);
-pitem->ile3$w_code = LNM$_STRING;
-pitem->ile3$ps_bufaddr = logvalue;
-pitem->ile3$ps_retlen_addr = (unsigned short int *) &reslen;
-pitem++;
-/* Last item of the item list is null terminated */
-pitem->ile3$w_length = pitem->ile3$w_code = 0;
-# endif
-
-
-/* Get the value for SYS$TIMEZONE_DIFFERENTIAL */
-status = sys$trnlnm(0, &tabnam, &lognam, 0, itemlist);
-if (!(status & 1))
-return NULL;
-logv

[openssl-commits] [openssl] OpenSSL_1_1_0-stable update

2017-02-28 Thread Richard Levitte
The branch OpenSSL_1_1_0-stable has been updated
   via  2ac9a5e7cf9d720c35a13d52e12d0c50ce2d2f14 (commit)
  from  d0c278ee3fd1b111504552197a6a1416e924a2c8 (commit)


- Log -
commit 2ac9a5e7cf9d720c35a13d52e12d0c50ce2d2f14
Author: Richard Levitte 
Date:   Tue Feb 28 08:15:31 2017 +0100

Code cleanup: remove the VMS specific reimplementation of gmtime

This reimplementation was necessary before VMS C V7.1.  Since that's
the minimum version we support in this OpenSSL version, the
reimplementation is no longer needed.

Reviewed-by: Matt Caswell 
(Merged from https://github.com/openssl/openssl/pull/2762)
(cherry picked from commit 9d70ac97d9d8720e6ed280609c844da403b80440)

---

Summary of changes:
 CHANGES |   5 ++
 crypto/o_time.c | 190 +---
 2 files changed, 7 insertions(+), 188 deletions(-)

diff --git a/CHANGES b/CHANGES
index 76041ce..eaa5e5d 100644
--- a/CHANGES
+++ b/CHANGES
@@ -6,6 +6,11 @@
 
   *)
 
+  *) Remove the VMS-specific reimplementation of gmtime from crypto/o_times.c.
+ VMS C's RTL has a fully up to date gmtime() and gmtime_r() since V7.1,
+ which is the minimum version we support.
+ [Richard Levitte]
+
  Changes between 1.1.0d and 1.1.0e [16 Feb 2017]
 
   *) Encrypt-Then-Mac renegotiation crash
diff --git a/crypto/o_time.c b/crypto/o_time.c
index 4b902e0..aa74340 100755
--- a/crypto/o_time.c
+++ b/crypto/o_time.c
@@ -11,51 +11,15 @@
 #include 
 #include 
 
-#ifdef OPENSSL_SYS_VMS
-# if __CRTL_VER >= 7000 && \
- (defined _POSIX_C_SOURCE || !defined _ANSI_C_SOURCE)
-#  define VMS_GMTIME_OK
-# endif
-# ifndef VMS_GMTIME_OK
-#  include 
-#  include 
-#  include 
-#  include 
-#  include 
-#  include 
-# endif /* ndef VMS_GMTIME_OK */
-
-
-/*
- * Needed to pick up the correct definitions and declarations in some of the
- * DEC C Header Files (*.H).
- */
-# define __NEW_STARLET 1
-
-# if (defined(__alpha) || defined(__ia64))
-#  include 
-# else
-
-/* VAX */
-typedef struct _ile3 {  /* Copied from ILEDEF.H for Alpha   */
-#  pragma __nomember_alignment
-unsigned short int ile3$w_length;/* Length of buffer in bytes */
-unsigned short int ile3$w_code;  /* Item code value */
-void *ile3$ps_bufaddr;   /* Buffer address */
-unsigned short int *ile3$ps_retlen_addr; /* Address of word for returned 
length */
-} ILE3;
-# endif   /* alpha || ia64*/
-#endif/* OPENSSL_SYS_VMS  */
-
 struct tm *OPENSSL_gmtime(const time_t *timer, struct tm *result)
 {
 struct tm *ts = NULL;
 
-#if defined(OPENSSL_THREADS) && !defined(OPENSSL_SYS_WIN32) && 
(!defined(OPENSSL_SYS_VMS) || defined(gmtime_r)) && !defined(OPENSSL_SYS_MACOSX)
+#if defined(OPENSSL_THREADS) && !defined(OPENSSL_SYS_WIN32) && 
!defined(OPENSSL_SYS_MACOSX)
 if (gmtime_r(timer, result) == NULL)
 return NULL;
 ts = result;
-#elif !defined(OPENSSL_SYS_VMS) || defined(VMS_GMTIME_OK)
+#else
 ts = gmtime(timer);
 if (ts == NULL)
 return NULL;
@@ -63,156 +27,6 @@ struct tm *OPENSSL_gmtime(const time_t *timer, struct tm 
*result)
 memcpy(result, ts, sizeof(struct tm));
 ts = result;
 #endif
-#if defined( OPENSSL_SYS_VMS) && !defined( VMS_GMTIME_OK)
-if (ts == NULL) {
-static $DESCRIPTOR(tabnam, "LNM$DCL_LOGICAL");
-static $DESCRIPTOR(lognam, "SYS$TIMEZONE_DIFFERENTIAL");
-char logvalue[256];
-unsigned int reslen = 0;
-# if __INITIAL_POINTER_SIZE == 64
-ILEB_64 itemlist[2], *pitem;
-# else
-ILE3 itemlist[2], *pitem;
-# endif
-int status;
-time_t t;
-
-
-/*
- * Setup an itemlist for the call to $TRNLNM - Translate Logical Name.
- */
-pitem = itemlist;
-
-# if __INITIAL_POINTER_SIZE == 64
-pitem->ileb_64$w_mbo = 1;
-pitem->ileb_64$w_code = LNM$_STRING;
-pitem->ileb_64$l_mbmo = -1;
-pitem->ileb_64$q_length = sizeof (logvalue);
-pitem->ileb_64$pq_bufaddr = logvalue;
-pitem->ileb_64$pq_retlen_addr = (unsigned __int64 *) &reslen;
-pitem++;
-/* Last item of the item list is null terminated */
-pitem->ileb_64$q_length = pitem->ileb_64$w_code = 0;
-# else
-pitem->ile3$w_length = sizeof (logvalue);
-pitem->ile3$w_code = LNM$_STRING;
-pitem->ile3$ps_bufaddr = logvalue;
-pitem->ile3$ps_retlen_addr = (unsigned short int *) &reslen;
-pitem++;
-/* Last item of the item list is null terminated */
-pitem->ile3$w_length = pitem->ile3$w_code = 0;
-# endif
-
-
-/* Get the value for SYS$TIMEZONE_DIFFERENTIAL */
-status = sys$trnlnm(0, &tabnam, &lognam, 0, itemlist);
-if (!(status & 1))
-return NULL;
-logvalue[reslen] = '\0';
-
-  

[openssl-commits] [openssl] master update

2017-02-28 Thread Matt Caswell
The branch master has been updated
   via  df15c84901b235233013105c5977074d68530852 (commit)
  from  9d70ac97d9d8720e6ed280609c844da403b80440 (commit)


- Log -
commit df15c84901b235233013105c5977074d68530852
Author: Matt Caswell 
Date:   Tue Feb 28 10:52:09 2017 +

Remove some dead code from libssl

There are a small number of functions in libssl that are internal only
and never used by anything.

Reviewed-by: Emilia Käsper 
(Merged from https://github.com/openssl/openssl/pull/2770)

---

Summary of changes:
 ssl/record/rec_layer_d1.c |  5 -
 ssl/record/rec_layer_s3.c | 17 -
 ssl/record/record.h   |  3 ---
 ssl/ssl_lib.c |  5 -
 ssl/ssl_locl.h|  1 -
 5 files changed, 31 deletions(-)

diff --git a/ssl/record/rec_layer_d1.c b/ssl/record/rec_layer_d1.c
index dc10673..ed69589 100644
--- a/ssl/record/rec_layer_d1.c
+++ b/ssl/record/rec_layer_d1.c
@@ -109,11 +109,6 @@ void DTLS_RECORD_LAYER_set_saved_w_epoch(RECORD_LAYER *rl, 
unsigned short e)
 rl->d->w_epoch = e;
 }
 
-void DTLS_RECORD_LAYER_resync_write(RECORD_LAYER *rl)
-{
-memcpy(rl->write_sequence, rl->read_sequence, sizeof(rl->write_sequence));
-}
-
 void DTLS_RECORD_LAYER_set_write_sequence(RECORD_LAYER *rl, unsigned char *seq)
 {
 memcpy(rl->write_sequence, seq, SEQ_NUM_SIZE);
diff --git a/ssl/record/rec_layer_s3.c b/ssl/record/rec_layer_s3.c
index 0da91b1..7da07ea 100644
--- a/ssl/record/rec_layer_s3.c
+++ b/ssl/record/rec_layer_s3.c
@@ -88,23 +88,6 @@ int RECORD_LAYER_write_pending(const RECORD_LAYER *rl)
 && SSL3_BUFFER_get_left(&rl->wbuf[rl->numwpipes - 1]) != 0;
 }
 
-int RECORD_LAYER_set_data(RECORD_LAYER *rl, const unsigned char *buf,
-  size_t len)
-{
-rl->packet_length = len;
-if (len != 0) {
-rl->rstate = SSL_ST_READ_HEADER;
-if (!SSL3_BUFFER_is_initialised(&rl->rbuf))
-if (!ssl3_setup_read_buffer(rl->s))
-return 0;
-}
-
-rl->packet = SSL3_BUFFER_get_buf(&rl->rbuf);
-SSL3_BUFFER_set_data(&rl->rbuf, buf, len);
-
-return 1;
-}
-
 void RECORD_LAYER_reset_read_sequence(RECORD_LAYER *rl)
 {
 memset(rl->read_sequence, 0, sizeof(rl->read_sequence));
diff --git a/ssl/record/record.h b/ssl/record/record.h
index e995196..2c9b9dd 100644
--- a/ssl/record/record.h
+++ b/ssl/record/record.h
@@ -208,8 +208,6 @@ void RECORD_LAYER_clear(RECORD_LAYER *rl);
 void RECORD_LAYER_release(RECORD_LAYER *rl);
 int RECORD_LAYER_read_pending(const RECORD_LAYER *rl);
 int RECORD_LAYER_write_pending(const RECORD_LAYER *rl);
-int RECORD_LAYER_set_data(RECORD_LAYER *rl, const unsigned char *buf,
-  size_t len);
 void RECORD_LAYER_reset_read_sequence(RECORD_LAYER *rl);
 void RECORD_LAYER_reset_write_sequence(RECORD_LAYER *rl);
 int RECORD_LAYER_is_sslv2_record(RECORD_LAYER *rl);
@@ -236,7 +234,6 @@ void DTLS_RECORD_LAYER_free(RECORD_LAYER *rl);
 void DTLS_RECORD_LAYER_clear(RECORD_LAYER *rl);
 void DTLS_RECORD_LAYER_set_saved_w_epoch(RECORD_LAYER *rl, unsigned short e);
 void DTLS_RECORD_LAYER_clear(RECORD_LAYER *rl);
-void DTLS_RECORD_LAYER_resync_write(RECORD_LAYER *rl);
 void DTLS_RECORD_LAYER_set_write_sequence(RECORD_LAYER *rl, unsigned char 
*seq);
 __owur int dtls1_read_bytes(SSL *s, int type, int *recvd_type,
 unsigned char *buf, size_t len, int peek,
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c
index 72c101b..9382c2e 100644
--- a/ssl/ssl_lib.c
+++ b/ssl/ssl_lib.c
@@ -3612,11 +3612,6 @@ void *SSL_CTX_get_ex_data(const SSL_CTX *s, int idx)
 return (CRYPTO_get_ex_data(&s->ex_data, idx));
 }
 
-int ssl_ok(SSL *s)
-{
-return (1);
-}
-
 X509_STORE *SSL_CTX_get_cert_store(const SSL_CTX *ctx)
 {
 return (ctx->cert_store);
diff --git a/ssl/ssl_locl.h b/ssl/ssl_locl.h
index ebfd459..ac8c826 100644
--- a/ssl/ssl_locl.h
+++ b/ssl/ssl_locl.h
@@ -2210,7 +2210,6 @@ __owur int tls1_export_keying_material(SSL *s, unsigned 
char *out, size_t olen,
 __owur int tls1_alert_code(int code);
 __owur int tls13_alert_code(int code);
 __owur int ssl3_alert_code(int code);
-__owur int ssl_ok(SSL *s);
 
 #  ifndef OPENSSL_NO_EC
 __owur int ssl_check_srvr_ecc_cert_and_alg(X509 *x, SSL *s);
_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] [openssl] master update

2017-02-28 Thread Richard Levitte
The branch master has been updated
   via  44e2d45ffdcda4160d7d36a5b0ee702d0ebad8ac (commit)
  from  df15c84901b235233013105c5977074d68530852 (commit)


- Log -
commit 44e2d45ffdcda4160d7d36a5b0ee702d0ebad8ac
Author: Richard Levitte 
Date:   Tue Feb 28 14:47:55 2017 +0100

Move the CHIL engine to demos/engines

Moving out of the way, Makefile to be added

Reviewed-by: Rich Salz 
(Merged from https://github.com/openssl/openssl/pull/2780)

---

Summary of changes:
 {engines => demos/engines}/e_chil.c | 0
 {engines => demos/engines}/e_chil.ec| 0
 {engines => demos/engines}/e_chil_err.c | 0
 {engines => demos/engines}/e_chil_err.h | 0
 4 files changed, 0 insertions(+), 0 deletions(-)
 rename {engines => demos/engines}/e_chil.c (100%)
 rename {engines => demos/engines}/e_chil.ec (100%)
 rename {engines => demos/engines}/e_chil_err.c (100%)
 rename {engines => demos/engines}/e_chil_err.h (100%)

diff --git a/engines/e_chil.c b/demos/engines/e_chil.c
similarity index 100%
rename from engines/e_chil.c
rename to demos/engines/e_chil.c
diff --git a/engines/e_chil.ec b/demos/engines/e_chil.ec
similarity index 100%
rename from engines/e_chil.ec
rename to demos/engines/e_chil.ec
diff --git a/engines/e_chil_err.c b/demos/engines/e_chil_err.c
similarity index 100%
rename from engines/e_chil_err.c
rename to demos/engines/e_chil_err.c
diff --git a/engines/e_chil_err.h b/demos/engines/e_chil_err.h
similarity index 100%
rename from engines/e_chil_err.h
rename to demos/engines/e_chil_err.h
_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] [openssl] master update

2017-02-28 Thread Rich Salz
The branch master has been updated
   via  fa7e9ed3d16c7e713b67a84de9683837610cd318 (commit)
  from  44e2d45ffdcda4160d7d36a5b0ee702d0ebad8ac (commit)


- Log -
commit fa7e9ed3d16c7e713b67a84de9683837610cd318
Author: Bernd Edlinger 
Date:   Mon Feb 13 13:21:34 2017 +0100

Remove unnecessary memset after PR #2583 avoids accessing
the uninitialized session_id now.

Reviewed-by: Matt Caswell 
Reviewed-by: Rich Salz 
(Merged from https://github.com/openssl/openssl/pull/2608)

---

Summary of changes:
 ssl/ssl_sess.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/ssl/ssl_sess.c b/ssl/ssl_sess.c
index ddd949d..be3c4c3 100644
--- a/ssl/ssl_sess.c
+++ b/ssl/ssl_sess.c
@@ -501,7 +501,6 @@ int ssl_get_prev_session(SSL *s, CLIENTHELLO_MSG *hello, 
int *al)
 SSL_SESSION data;
 
 data.ssl_version = s->version;
-memset(data.session_id, 0, sizeof(data.session_id));
 memcpy(data.session_id, hello->session_id, hello->session_id_len);
 data.session_id_length = hello->session_id_len;
 
_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] [openssl] master update

2017-02-28 Thread Rich Salz
The branch master has been updated
   via  533b178db6aea206f07810ea20ecd43a90c51855 (commit)
  from  fa7e9ed3d16c7e713b67a84de9683837610cd318 (commit)


- Log -
commit 533b178db6aea206f07810ea20ecd43a90c51855
Author: Pauli 
Date:   Mon Feb 27 14:26:16 2017 +1000

Avoid buffer underflow in evp_test.

The second loop in the remove_space function doesn't check for walking
back off of the start of the string while setting white space to 0.

This fix exits this loop once the pointer is before the (updated) beginning
of the string.

Reviewed-by: Richard Levitte 
Reviewed-by: Rich Salz 
(Merged from https://github.com/openssl/openssl/pull/2752)

---

Summary of changes:
 test/evp_test.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/test/evp_test.c b/test/evp_test.c
index 494a46b..d924e3f 100644
--- a/test/evp_test.c
+++ b/test/evp_test.c
@@ -23,17 +23,17 @@
 
 static void remove_space(char **pval)
 {
-unsigned char *p = (unsigned char *)*pval;
+unsigned char *p = (unsigned char *)*pval, *beginning;
 
 while (isspace(*p))
 p++;
 
-*pval = (char *)p;
+*pval = (char *)(beginning = p);
 
 p = p + strlen(*pval) - 1;
 
 /* Remove trailing space */
-while (isspace(*p))
+while (p >= beginning && isspace(*p))
 *p-- = 0;
 }
 
_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] [openssl] master update

2017-02-28 Thread Emilia Kasper
The branch master has been updated
   via  8a05d6bb264eefe224966a4c6415a173ad58861d (commit)
   via  b53338cbf8822dd774f9e4057307f347d2b63ff0 (commit)
   via  223a90cc9a94d1f6abf04ef28dc30b03c3e5e0c1 (commit)
   via  e546e2cc8ca6f984cc1fb618b136bb28304927c9 (commit)
  from  533b178db6aea206f07810ea20ecd43a90c51855 (commit)


- Log -
commit 8a05d6bb264eefe224966a4c6415a173ad58861d
Author: Emilia Kasper 
Date:   Tue Feb 28 14:54:07 2017 +0100

More Configure cleanup. Remove
- util/incore
- util/fipslink.pl
- the unused "baseaddr" configure switch

Reviewed-by: Stephen Henson 

commit b53338cbf8822dd774f9e4057307f347d2b63ff0
Author: Emilia Kasper 
Date:   Tue Feb 28 12:30:28 2017 +0100

Clean up references to FIPS

This removes the fips configure option. This option is broken as the
required FIPS code is not available.

FIPS_mode() and FIPS_mode_set() are retained for compatibility, but
FIPS_mode() always returns 0, and FIPS_mode_set() can only be used to
turn FIPS mode off.

Reviewed-by: Stephen Henson 

commit 223a90cc9a94d1f6abf04ef28dc30b03c3e5e0c1
Author: Emilia Kasper 
Date:   Tue Feb 28 13:25:06 2017 +0100

Remove BN_DEBUG_TRIX

Reviewed-by: Rich Salz 

commit e546e2cc8ca6f984cc1fb618b136bb28304927c9
Author: Emilia Kasper 
Date:   Tue Feb 28 11:47:10 2017 +0100

Remove debugging leftovers in apps/opt.c

Reviewed-by: Stephen Henson 
Reviewed-by: Rich Salz 

---

Summary of changes:
 Configure |  42 +---
 apps/openssl.c|  10 -
 apps/opt.c|  89 -
 crypto/aes/asm/aes-mips.pl|   4 -
 crypto/bn/asm/sparcv8plus.S   |   4 -
 crypto/bn/bn_lcl.h|   8 -
 crypto/des/asm/des_enc.m4 |   4 -
 crypto/err/err_all.c  |   9 -
 crypto/evp/evp_cnf.c  |   8 -
 crypto/o_fips.c   |  12 +-
 crypto/o_init.c   |  19 +-
 crypto/rand/md_rand.c |   4 -
 crypto/rand/rand_lib.c|   5 -
 crypto/sha/asm/sha1-mips.pl   |   4 -
 crypto/sha/asm/sha512-mips.pl |   4 -
 crypto/sparccpuid.S   |   4 -
 doc/man5/config.pod   |  13 +-
 include/openssl/opensslv.h|   6 +-
 ssl/record/ssl3_record.c  |   7 -
 ssl/s3_cbc.c  |  48 -
 ssl/ssl_ciph.c|   8 +-
 ssl/ssl_lib.c |   5 -
 ssl/ssl_locl.h|   4 -
 ssl/statem/statem_lib.c   |   4 +-
 test/ssltest_old.c|  19 --
 util/fipslink.pl  | 115 ---
 util/incore   | 454 --
 27 files changed, 12 insertions(+), 901 deletions(-)
 delete mode 100644 util/fipslink.pl
 delete mode 100755 util/incore

diff --git a/Configure b/Configure
index 4404963..86f68c7 100755
--- a/Configure
+++ b/Configure
@@ -302,12 +302,8 @@ $config{openssldir}="";
 $config{processor}="";
 $config{libdir}="";
 $config{cross_compile_prefix}="";
-$config{fipslibdir}="/usr/local/ssl/fips-2.0/lib/";
-my $nofipscanistercheck=0;
-$config{baseaddr}="0xFB0";
 my $auto_threads=1;# enable threads automatically? true by default
 my $default_ranlib;
-$config{fips}=0;
 
 # Top level directories to build
 $config{dirs} = [ "crypto", "ssl", "engines", "apps", "test", "util", "tools", 
"fuzz" ];
@@ -685,7 +681,7 @@ while (@argvcopy)
{ $config{processor}=386; }
elsif (/^fips$/)
{
-   $config{fips}=1;
+   die "FIPS mode not supported\n";
}
elsif (/^rsaref$/)
{
@@ -695,8 +691,7 @@ while (@argvcopy)
}
elsif (/^nofipscanistercheck$/)
{
-   $config{fips} = 1;
-   $nofipscanistercheck = 1;
+   die "FIPS mode not supported\n";
}
elsif (/^[-+]/)
{
@@ -734,14 +729,6 @@ while (@argvcopy)
{
$withargs{fuzzer_include}=$1;
}
-   elsif (/^--with-fipslibdir=(.*)$/)
-   {
-   $config{fipslibdir}="$1/";
-   }
-   elsif (/^--with-baseaddr=(.*)$/)
-   {
-   $config{baseaddr}="$1";
-   }
elsif (/^--cross-compile-prefix=(.*)$/)
{
$config{cross_compile_prefix}=$1;
@@ -821,15 +808,6 @@ if ($libs =~ /(^|\s)-Wl,-rpath,/
"* any of asan, msan or ubsan\n";
 }
 
-if ($config{fips})
-   {
-   delete $disabled{"shared"} if ($disabled{"shared"} =~ /^default/);
-   }
-else
-   {
-   @{$config{dirs}} = grep !/^fips$/, @{$config{dirs}};
-   }
-
 my @tocheckfor = (keys %disabled);
 while (@tocheckfor) 

[openssl-commits] [openssl] master update

2017-02-28 Thread Richard Levitte
The branch master has been updated
   via  14097b6a9263a40615a5c4cbf3fe808b1a14ffde (commit)
   via  e627a13cd58a54df830e0fc2853f3ea8862699f2 (commit)
  from  8a05d6bb264eefe224966a4c6415a173ad58861d (commit)


- Log -
commit 14097b6a9263a40615a5c4cbf3fe808b1a14ffde
Author: Richard Levitte 
Date:   Tue Feb 28 14:07:08 2017 +0100

Code health: Stop using timeb.h / ftime() (VMS only)

Reviewed-by: Rich Salz 
(Merged from https://github.com/openssl/openssl/pull/2775)

commit e627a13cd58a54df830e0fc2853f3ea8862699f2
Author: Richard Levitte 
Date:   Tue Feb 28 14:06:14 2017 +0100

Code health: Remove obvious VAX C fixups

Reviewed-by: Rich Salz 
(Merged from https://github.com/openssl/openssl/pull/2775)

---

Summary of changes:
 apps/ca.c  |  6 +-
 apps/s_apps.h  | 25 -
 crypto/bio/bss_dgram.c | 10 +-
 ssl/d1_lib.c   |  9 +
 4 files changed, 3 insertions(+), 47 deletions(-)

diff --git a/apps/ca.c b/apps/ca.c
index 00fb6f5..9428c30 100644
--- a/apps/ca.c
+++ b/apps/ca.c
@@ -28,11 +28,7 @@
 
 #ifndef W_OK
 # ifdef OPENSSL_SYS_VMS
-#  if defined(__DECC)
-#   include 
-#  else
-#   include 
-#  endif
+#  include 
 # elif !defined(OPENSSL_SYS_VXWORKS) && !defined(OPENSSL_SYS_WINDOWS)
 #  include 
 # endif
diff --git a/apps/s_apps.h b/apps/s_apps.h
index 22b65b7..bf27de2 100644
--- a/apps/s_apps.h
+++ b/apps/s_apps.h
@@ -17,31 +17,6 @@
 # define _kbhit kbhit
 #endif
 
-#if defined(OPENSSL_SYS_VMS) && !defined(FD_SET)
-/*
- * VAX C does not defined fd_set and friends, but it's actually quite simple
- */
-/* These definitions are borrowed from SOCKETSHR.   /Richard Levitte */
-# define MAX_NOFILE  32
-# define NBBY 8 /* number of bits in a byte */
-
-# ifndef FD_SETSIZE
-#  define FD_SETSIZE  MAX_NOFILE
-# endif /* FD_SETSIZE */
-
-/* How many things we'll allow select to use. 0 if unlimited */
-# define MAXSELFDMAX_NOFILE
-typedef int fd_mask;/* int here! VMS prototypes int, not long */
-# define NFDBITS (sizeof(fd_mask) * NBBY)/* bits per mask (power of 2!) */
-# define NFDSHIFT 5 /* Shift based on above */
-
-typedef fd_mask fd_set;
-# define FD_SET(n, p)(*(p) |= (1 << ((n) % NFDBITS)))
-# define FD_CLR(n, p)(*(p) &= ~(1 << ((n) % NFDBITS)))
-# define FD_ISSET(n, p)  (*(p) & (1 << ((n) % NFDBITS)))
-# define FD_ZERO(p)  memset((p), 0, sizeof(*(p)))
-#endif
-
 #define PORT"4433"
 #define PROTOCOL"tcp"
 
diff --git a/crypto/bio/bss_dgram.c b/crypto/bio/bss_dgram.c
index 0b1ab94..b14d036 100644
--- a/crypto/bio/bss_dgram.c
+++ b/crypto/bio/bss_dgram.c
@@ -13,12 +13,9 @@
 #include "bio_lcl.h"
 #ifndef OPENSSL_NO_DGRAM
 
-# if !(defined(_WIN32) || defined(OPENSSL_SYS_VMS))
+# if !defined(_WIN32)
 #  include 
 # endif
-# if defined(OPENSSL_SYS_VMS)
-#  include 
-# endif
 
 # ifndef OPENSSL_NO_SCTP
 #  include 
@@ -1939,11 +1936,6 @@ static void get_current_time(struct timeval *t)
 #  endif
 t->tv_sec = (long)(now.ul / 1000);
 t->tv_usec = ((int)(now.ul % 1000)) / 10;
-# elif defined(OPENSSL_SYS_VMS)
-struct timeb tb;
-ftime(&tb);
-t->tv_sec = (long)tb.time;
-t->tv_usec = (long)tb.millitm * 1000;
 # else
 gettimeofday(t, NULL);
 # endif
diff --git a/ssl/d1_lib.c b/ssl/d1_lib.c
index 213fad5..eb6a0f8 100644
--- a/ssl/d1_lib.c
+++ b/ssl/d1_lib.c
@@ -13,9 +13,7 @@
 #include 
 #include "ssl_locl.h"
 
-#if defined(OPENSSL_SYS_VMS)
-# include 
-#elif defined(OPENSSL_SYS_VXWORKS)
+#if defined(OPENSSL_SYS_VXWORKS)
 # include 
 #elif !defined(OPENSSL_SYS_WIN32)
 # include 
@@ -404,11 +402,6 @@ static void get_current_time(struct timeval *t)
 # endif
 t->tv_sec = (long)(now.ul / 1000);
 t->tv_usec = ((int)(now.ul % 1000)) / 10;
-#elif defined(OPENSSL_SYS_VMS)
-struct timeb tb;
-ftime(&tb);
-t->tv_sec = (long)tb.time;
-t->tv_usec = (long)tb.millitm * 1000;
 #else
 gettimeofday(t, NULL);
 #endif
_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] [openssl] master update

2017-02-28 Thread Rich Salz
The branch master has been updated
   via  2722ff506de5cbdf68ca39c233ddb6e2fc15aa37 (commit)
  from  14097b6a9263a40615a5c4cbf3fe808b1a14ffde (commit)


- Log -
commit 2722ff506de5cbdf68ca39c233ddb6e2fc15aa37
Author: Todd Short 
Date:   Tue Feb 28 09:04:29 2017 -0500

Remove some #if 0 code in ssl, crypto/bio

Reviewed-by: Richard Levitte 
Reviewed-by: Rich Salz 
(Merged from https://github.com/openssl/openssl/pull/2781)

---

Summary of changes:
 crypto/bio/bss_conn.c | 10 +-
 ssl/bio_ssl.c | 10 +-
 ssl/s3_lib.c  |  4 
 3 files changed, 2 insertions(+), 22 deletions(-)

diff --git a/crypto/bio/bss_conn.c b/crypto/bio/bss_conn.c
index ddbc896..5562efa 100644
--- a/crypto/bio/bss_conn.c
+++ b/crypto/bio/bss_conn.c
@@ -478,15 +478,7 @@ static long conn_ctrl(BIO *b, int cmd, long num, void *ptr)
 }
 break;
 case BIO_CTRL_SET_CALLBACK:
-{
-# if 0  /* FIXME: Should this be used? -- Richard
- * Levitte */
-BIOerr(BIO_F_CONN_CTRL, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED);
-ret = -1;
-# else
-ret = 0;
-# endif
-}
+ret = 0; /* use callback ctrl */
 break;
 case BIO_CTRL_GET_CALLBACK:
 {
diff --git a/ssl/bio_ssl.c b/ssl/bio_ssl.c
index 3d380c8..8b5036f 100644
--- a/ssl/bio_ssl.c
+++ b/ssl/bio_ssl.c
@@ -380,15 +380,7 @@ static long ssl_ctrl(BIO *b, int cmd, long num, void *ptr)
 ret = BIO_ctrl(ssl->rbio, cmd, num, ptr);
 break;
 case BIO_CTRL_SET_CALLBACK:
-{
-#if 0   /* FIXME: Should this be used? -- Richard
- * Levitte */
-SSLerr(SSL_F_SSL_CTRL, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED);
-ret = -1;
-#else
-ret = 0;
-#endif
-}
+ret = 0; /* use callback ctrl */
 break;
 case BIO_CTRL_GET_CALLBACK:
 {
diff --git a/ssl/s3_lib.c b/ssl/s3_lib.c
index 1df1afa..4f8977a 100644
--- a/ssl/s3_lib.c
+++ b/ssl/s3_lib.c
@@ -3669,16 +3669,12 @@ const SSL_CIPHER *ssl3_choose_cipher(SSL *s, 
STACK_OF(SSL_CIPHER) *clnt,
 
 /* Let's see which ciphers we can support */
 
-#if 0
 /*
  * Do not set the compare functions, because this may lead to a
  * reordering by "id". We want to keep the original ordering. We may pay
  * a price in performance during sk_SSL_CIPHER_find(), but would have to
  * pay with the price of sk_SSL_CIPHER_dup().
  */
-sk_SSL_CIPHER_set_cmp_func(srvr, ssl_cipher_ptr_id_cmp);
-sk_SSL_CIPHER_set_cmp_func(clnt, ssl_cipher_ptr_id_cmp);
-#endif
 
 #ifdef CIPHER_DEBUG
 fprintf(stderr, "Server has %d from %p:\n", sk_SSL_CIPHER_num(srvr),
_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] [openssl] master update

2017-02-28 Thread Matt Caswell
The branch master has been updated
   via  1fef2f80503b31f6892f9f9c862910c2b6b32b0b (commit)
  from  2722ff506de5cbdf68ca39c233ddb6e2fc15aa37 (commit)


- Log -
commit 1fef2f80503b31f6892f9f9c862910c2b6b32b0b
Author: Matt Caswell 
Date:   Tue Feb 28 10:08:51 2017 +

Remove dead code in bn

There are a number of symbols in bn which are internal only and never used
by anything. They should be removed.

Reviewed-by: Rich Salz 
(Merged from https://github.com/openssl/openssl/pull/2766)

---

Summary of changes:
 crypto/bn/README.pod |   8 +-
 crypto/bn/bn_intern.c|  15 --
 crypto/bn/bn_lcl.h   |   6 -
 crypto/bn/bn_mul.c   | 330 ---
 crypto/bn/bn_prime.c | 124 ---
 crypto/include/internal/bn_int.h |  11 --
 6 files changed, 1 insertion(+), 493 deletions(-)

diff --git a/crypto/bn/README.pod b/crypto/bn/README.pod
index 109ab0d..706a140 100644
--- a/crypto/bn/README.pod
+++ b/crypto/bn/README.pod
@@ -6,7 +6,7 @@ bn_mul_words, bn_mul_add_words, bn_sqr_words, bn_div_words,
 bn_add_words, bn_sub_words, bn_mul_comba4, bn_mul_comba8,
 bn_sqr_comba4, bn_sqr_comba8, bn_cmp_words, bn_mul_normal,
 bn_mul_low_normal, bn_mul_recursive, bn_mul_part_recursive,
-bn_mul_low_recursive, bn_mul_high, bn_sqr_normal, bn_sqr_recursive,
+bn_mul_low_recursive, bn_sqr_normal, bn_sqr_recursive,
 bn_expand, bn_wexpand, bn_expand2, bn_fix_top, bn_check_top,
 bn_print, bn_dump, bn_set_max, bn_set_high, bn_set_low - BIGNUM
 library internal functions
@@ -41,8 +41,6 @@ library internal functions
int n, int tna, int tnb, BN_ULONG *tmp);
  void bn_mul_low_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b,
int n2, BN_ULONG *tmp);
- void bn_mul_high(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, BN_ULONG *l,
-   int n2, BN_ULONG *tmp);
 
  void bn_sqr_normal(BN_ULONG *r, BN_ULONG *a, int n, BN_ULONG *tmp);
  void bn_sqr_recursive(BN_ULONG *r, BN_ULONG *a, int n2, BN_ULONG *tmp);
@@ -178,10 +176,6 @@ bn_mul_low_recursive(B, B, B, B, B) 
operates on the
 B word arrays B and B and the B/2 word arrays B
 and B.
 
-bn_mul_high(B, B, B, B, B, B) operates on the
-B word arrays B, B, B and B (?) and the 3*B word
-array B.
-
 BN_mul() calls bn_mul_normal(), or an optimized implementation if the
 factors have the same size: bn_mul_comba8() is used if they are 8
 words long, bn_mul_recursive() if they are larger than
diff --git a/crypto/bn/bn_intern.c b/crypto/bn/bn_intern.c
index 2c97064..2524eb2 100644
--- a/crypto/bn/bn_intern.c
+++ b/crypto/bn/bn_intern.c
@@ -143,11 +143,6 @@ int bn_get_top(const BIGNUM *a)
 return a->top;
 }
 
-void bn_set_top(BIGNUM *a, int top)
-{
-a->top = top;
-}
-
 int bn_get_dmax(const BIGNUM *a)
 {
 return a->dmax;
@@ -198,13 +193,3 @@ int bn_set_words(BIGNUM *a, BN_ULONG *words, int num_words)
 bn_correct_top(a);
 return 1;
 }
-
-size_t bn_sizeof_BIGNUM(void)
-{
-return sizeof(BIGNUM);
-}
-
-BIGNUM *bn_array_el(BIGNUM *base, int el)
-{
-return &base[el];
-}
diff --git a/crypto/bn/bn_lcl.h b/crypto/bn/bn_lcl.h
index eba8dd9..5121c90 100644
--- a/crypto/bn/bn_lcl.h
+++ b/crypto/bn/bn_lcl.h
@@ -645,10 +645,6 @@ void bn_sqr_recursive(BN_ULONG *r, const BN_ULONG *a, int 
n2, BN_ULONG *t);
 void bn_mul_low_normal(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n);
 void bn_mul_low_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n2,
   BN_ULONG *t);
-void bn_mul_high(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, BN_ULONG *l, int n2,
- BN_ULONG *t);
-BN_ULONG bn_add_part_words(BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b,
-   int cl, int dl);
 BN_ULONG bn_sub_part_words(BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b,
int cl, int dl);
 int bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp,
@@ -660,8 +656,6 @@ BIGNUM *int_bn_mod_inverse(BIGNUM *in,
 
 int bn_probable_prime_dh(BIGNUM *rnd, int bits,
  const BIGNUM *add, const BIGNUM *rem, BN_CTX *ctx);
-int bn_probable_prime_dh_retry(BIGNUM *rnd, int bits, BN_CTX *ctx);
-int bn_probable_prime_dh_coprime(BIGNUM *rnd, int bits, BN_CTX *ctx);
 
 static ossl_inline BIGNUM *bn_expand(BIGNUM *a, int bits)
 {
diff --git a/crypto/bn/bn_mul.c b/crypto/bn/bn_mul.c
index 4a0a950..1f28f64 100644
--- a/crypto/bn/bn_mul.c
+++ b/crypto/bn/bn_mul.c
@@ -152,166 +152,6 @@ BN_ULONG bn_sub_part_words(BN_ULONG *r,
 }
 #endif
 
-BN_ULONG bn_add_part_words(BN_ULONG *r,
-   const BN_ULONG *a, const BN_ULONG *b,
-   int cl, int dl)
-{
-BN_ULONG c, l, t;
-
-assert(cl >= 0);
-c = bn_add_words(r, a, b, cl);
-
-if (dl == 0)
-return c;
-
-r += cl;
-a += cl;
-b += cl;
-
-if (dl < 0) {
-int sav

[openssl-commits] [openssl] master update

2017-02-28 Thread Dr . Stephen Henson
The branch master has been updated
   via  a2121e1425ce9dce737bea2bd367639639231e0e (commit)
  from  1fef2f80503b31f6892f9f9c862910c2b6b32b0b (commit)


- Log -
commit a2121e1425ce9dce737bea2bd367639639231e0e
Author: Dr. Stephen Henson 
Date:   Tue Feb 28 14:18:27 2017 +

Remove wp_test.c: exactly the same tests are in evptests.txt

Reviewed-by: Rich Salz 
Reviewed-by: Richard Levitte 
(Merged from https://github.com/openssl/openssl/pull/2783)

---

Summary of changes:
 test/build.info   |   2 +-
 test/evptests.txt |   2 +-
 test/recipes/05-test_wp.t |  12 ---
 test/wp_test.c| 233 --
 4 files changed, 2 insertions(+), 247 deletions(-)
 delete mode 100644 test/recipes/05-test_wp.t
 delete mode 100644 test/wp_test.c

diff --git a/test/build.info b/test/build.info
index 443848b..0319557 100644
--- a/test/build.info
+++ b/test/build.info
@@ -15,7 +15,7 @@ IF[{- !$disabled{tests} -}]
   sanitytest bntest \
   ectest ecdsatest ecdhtest gmdifftest pbelutest ideatest \
   md2test md4test md5test \
-  hmactest wp_test \
+  hmactest \
   rc2test rc4test rc5test \
   destest sha1test sha256t sha512t \
   mdc2test rmdtest \
diff --git a/test/evptests.txt b/test/evptests.txt
index a320828..463028e 100644
--- a/test/evptests.txt
+++ b/test/evptests.txt
@@ -224,7 +224,7 @@ Digest = RIPEMD160
 Input = 
"12345678901234567890123456789012345678901234567890123456789012345678901234567890"
 Output = 9b752e45573d4b39f4dbd3323cab82bf63326bfb
 
-# whirlpool tests from wp_test.c
+# ISO/IEC 10118-3 test vector set
 Digest = whirlpool
 Input = ""
 Output = 
19FA61D75522A4669B44E39C1D2E1726C530232130D407F89AFEE0964997F7A73E83BE698B288FEBCF88E3E03C4F0757EA8964E59B63D93708B138CC42A66EB3
diff --git a/test/recipes/05-test_wp.t b/test/recipes/05-test_wp.t
deleted file mode 100644
index a042898..000
--- a/test/recipes/05-test_wp.t
+++ /dev/null
@@ -1,12 +0,0 @@
-#! /usr/bin/env perl
-# Copyright 2015-2016 The OpenSSL Project Authors. All Rights Reserved.
-#
-# Licensed under the OpenSSL license (the "License").  You may not use
-# this file except in compliance with the License.  You can obtain a copy
-# in the file LICENSE in the source distribution or at
-# https://www.openssl.org/source/license.html
-
-
-use OpenSSL::Test::Simple;
-
-simple_test("test_wp", "wp_test", "whirlpool");
diff --git a/test/wp_test.c b/test/wp_test.c
deleted file mode 100644
index 7b5cc04..000
--- a/test/wp_test.c
+++ /dev/null
@@ -1,233 +0,0 @@
-/*
- * Copyright 2005-2016 The OpenSSL Project Authors. All Rights Reserved.
- *
- * Licensed under the OpenSSL license (the "License").  You may not use
- * this file except in compliance with the License.  You can obtain a copy
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#include 
-#include 
-#include 
-
-#include 
-#include 
-
-#if defined(OPENSSL_NO_WHIRLPOOL)
-int main(int argc, char *argv[])
-{
-printf("No Whirlpool support\n");
-return (0);
-}
-#else
-
-/* ISO/IEC 10118-3 test vector set */
-static const unsigned char iso_test_1[WHIRLPOOL_DIGEST_LENGTH] = {
-0x19, 0xFA, 0x61, 0xD7, 0x55, 0x22, 0xA4, 0x66,
-0x9B, 0x44, 0xE3, 0x9C, 0x1D, 0x2E, 0x17, 0x26,
-0xC5, 0x30, 0x23, 0x21, 0x30, 0xD4, 0x07, 0xF8,
-0x9A, 0xFE, 0xE0, 0x96, 0x49, 0x97, 0xF7, 0xA7,
-0x3E, 0x83, 0xBE, 0x69, 0x8B, 0x28, 0x8F, 0xEB,
-0xCF, 0x88, 0xE3, 0xE0, 0x3C, 0x4F, 0x07, 0x57,
-0xEA, 0x89, 0x64, 0xE5, 0x9B, 0x63, 0xD9, 0x37,
-0x08, 0xB1, 0x38, 0xCC, 0x42, 0xA6, 0x6E, 0xB3
-};
-
-static const unsigned char iso_test_2[WHIRLPOOL_DIGEST_LENGTH] = {
-0x8A, 0xCA, 0x26, 0x02, 0x79, 0x2A, 0xEC, 0x6F,
-0x11, 0xA6, 0x72, 0x06, 0x53, 0x1F, 0xB7, 0xD7,
-0xF0, 0xDF, 0xF5, 0x94, 0x13, 0x14, 0x5E, 0x69,
-0x73, 0xC4, 0x50, 0x01, 0xD0, 0x08, 0x7B, 0x42,
-0xD1, 0x1B, 0xC6, 0x45, 0x41, 0x3A, 0xEF, 0xF6,
-0x3A, 0x42, 0x39, 0x1A, 0x39, 0x14, 0x5A, 0x59,
-0x1A, 0x92, 0x20, 0x0D, 0x56, 0x01, 0x95, 0xE5,
-0x3B, 0x47, 0x85, 0x84, 0xFD, 0xAE, 0x23, 0x1A
-};
-
-static const unsigned char iso_test_3[WHIRLPOOL_DIGEST_LENGTH] = {
-0x4E, 0x24, 0x48, 0xA4, 0xC6, 0xF4, 0x86, 0xBB,
-0x16, 0xB6, 0x56, 0x2C, 0x73, 0xB4, 0x02, 0x0B,
-0xF3, 0x04, 0x3E, 0x3A, 0x73, 0x1B, 0xCE, 0x72,
-0x1A, 0xE1, 0xB3, 0x03, 0xD9, 0x7E, 0x6D, 0x4C,
-0x71, 0x81, 0xEE, 0xBD, 0xB6, 0xC5, 0x7E, 0x27,
-0x7D, 0x0E, 0x34, 0x95, 0x71, 0x14, 0xCB, 0xD6,
-0xC7, 0x97, 0xFC, 0x9D, 0x95, 0xD8, 0xB5, 0x82,
-0xD2, 0x25, 0x29, 0x20, 0x76, 0xD4, 0xEE, 0xF5
-};
-
-static const unsigned char iso_test_4[WHIRLPOOL_DIGEST_LENGTH] = {
-0x37, 0x8C, 0x84, 0xA4, 0x12, 0x6E, 0x2D, 0xC6,
-0xE5, 0x6D, 0xCC, 0x74, 0x58, 0x37, 0x7A, 0xAC,
-0x83, 0x

[openssl-commits] [openssl] master update

2017-02-28 Thread Matt Caswell
The branch master has been updated
   via  cec7dfc6a39d5fd33df24beecc0941db25379dcd (commit)
  from  a2121e1425ce9dce737bea2bd367639639231e0e (commit)


- Log -
commit cec7dfc6a39d5fd33df24beecc0941db25379dcd
Author: Matt Caswell 
Date:   Tue Feb 28 13:23:37 2017 +

Remove the file r160test.c

It is empty and is not compiled

Reviewed-by: Andy Polyakov 
(Merged from https://github.com/openssl/openssl/pull/2777)

---

Summary of changes:
 test/r160test.c | 9 -
 1 file changed, 9 deletions(-)
 delete mode 100644 test/r160test.c

diff --git a/test/r160test.c b/test/r160test.c
deleted file mode 100644
index 06033eb..000
--- a/test/r160test.c
+++ /dev/null
@@ -1,9 +0,0 @@
-/*
- * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
- *
- * Licensed under the OpenSSL license (the "License").  You may not use
- * this file except in compliance with the License.  You can obtain a copy
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] [openssl] OpenSSL_1_1_0-stable update

2017-02-28 Thread Rich Salz
The branch OpenSSL_1_1_0-stable has been updated
   via  0ddda824399d0b30057c6a0705ea65bf1985cf48 (commit)
  from  2ac9a5e7cf9d720c35a13d52e12d0c50ce2d2f14 (commit)


- Log -
commit 0ddda824399d0b30057c6a0705ea65bf1985cf48
Author: Rich Salz 
Date:   Mon Feb 27 12:36:37 2017 -0500

Update year, wording tweak

Reviewed-by: Richard Levitte 
(Merged from https://github.com/openssl/openssl/pull/2755)
(cherry picked from commit 6faa3456326afa56ea8c25a0b49239392074e192)

---

Summary of changes:
 LICENSE | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/LICENSE b/LICENSE
index c6cc098..8fbabd8 100644
--- a/LICENSE
+++ b/LICENSE
@@ -2,7 +2,7 @@
   LICENSE ISSUES
   ==
 
-  The OpenSSL toolkit stays under a dual license, i.e. both the conditions of
+  The OpenSSL toolkit stays under a double license, i.e. both the conditions of
   the OpenSSL License and the original SSLeay license apply to the toolkit.
   See below for the actual license texts.
 
@@ -10,7 +10,7 @@
   ---
 
 /* 
- * Copyright (c) 1998-2016 The OpenSSL Project.  All rights reserved.
+ * Copyright (c) 1998-2017 The OpenSSL Project.  All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] [openssl] master update

2017-02-28 Thread Rich Salz
The branch master has been updated
   via  6faa3456326afa56ea8c25a0b49239392074e192 (commit)
  from  cec7dfc6a39d5fd33df24beecc0941db25379dcd (commit)


- Log -
commit 6faa3456326afa56ea8c25a0b49239392074e192
Author: Rich Salz 
Date:   Mon Feb 27 12:36:37 2017 -0500

Update year, wording tweak

Reviewed-by: Richard Levitte 
(Merged from https://github.com/openssl/openssl/pull/2755)

---

Summary of changes:
 LICENSE | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/LICENSE b/LICENSE
index c6cc098..8fbabd8 100644
--- a/LICENSE
+++ b/LICENSE
@@ -2,7 +2,7 @@
   LICENSE ISSUES
   ==
 
-  The OpenSSL toolkit stays under a dual license, i.e. both the conditions of
+  The OpenSSL toolkit stays under a double license, i.e. both the conditions of
   the OpenSSL License and the original SSLeay license apply to the toolkit.
   See below for the actual license texts.
 
@@ -10,7 +10,7 @@
   ---
 
 /* 
- * Copyright (c) 1998-2016 The OpenSSL Project.  All rights reserved.
+ * Copyright (c) 1998-2017 The OpenSSL Project.  All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] [openssl] OpenSSL_1_0_2-stable update

2017-02-28 Thread Rich Salz
The branch OpenSSL_1_0_2-stable has been updated
   via  91350ad5ca90fd9a6b449da682c7ecd8aaf24ae5 (commit)
  from  0da68ec9a2673d5abf0c3a628e5e7f8da5813dba (commit)


- Log -
commit 91350ad5ca90fd9a6b449da682c7ecd8aaf24ae5
Author: Rich Salz 
Date:   Mon Feb 27 12:36:37 2017 -0500

Update year, wording tweak

Reviewed-by: Richard Levitte 
(Merged from https://github.com/openssl/openssl/pull/2755)
(cherry picked from commit 6faa3456326afa56ea8c25a0b49239392074e192)

---

Summary of changes:
 LICENSE | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/LICENSE b/LICENSE
index fb03713..bdfd985 100644
--- a/LICENSE
+++ b/LICENSE
@@ -2,7 +2,7 @@
   LICENSE ISSUES
   ==
 
-  The OpenSSL toolkit stays under a dual license, i.e. both the conditions of
+  The OpenSSL toolkit stays under a double license, i.e. both the conditions of
   the OpenSSL License and the original SSLeay license apply to the toolkit.
   See below for the actual license texts. Actually both licenses are BSD-style
   Open Source licenses. In case of any license issues related to OpenSSL
@@ -12,7 +12,7 @@
   ---
 
 /* 
- * Copyright (c) 1998-2016 The OpenSSL Project.  All rights reserved.
+ * Copyright (c) 1998-2017 The OpenSSL Project.  All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] [openssl] master update

2017-02-28 Thread Matt Caswell
The branch master has been updated
   via  a7ab9755da22d2abbdbb6b3ce4fff18f17dc0da7 (commit)
   via  6bb900698d4a0f27a9bdd77ca9ba226b517c700f (commit)
  from  6faa3456326afa56ea8c25a0b49239392074e192 (commit)


- Log -
commit a7ab9755da22d2abbdbb6b3ce4fff18f17dc0da7
Author: Matt Caswell 
Date:   Tue Feb 28 15:14:04 2017 +

Remove a pointless "#ifndef" from bf_enc.c

Reviewed-by: Andy Polyakov 
(Merged from https://github.com/openssl/openssl/pull/2778)

commit 6bb900698d4a0f27a9bdd77ca9ba226b517c700f
Author: Matt Caswell 
Date:   Tue Feb 28 13:31:41 2017 +

Remove bf_cbc.c

It is never built and the code is duplicated in bf_enc.c.

Reviewed-by: Emilia Käsper 
Reviewed-by: Rich Salz 
(Merged from https://github.com/openssl/openssl/pull/2778)

---

Summary of changes:
 crypto/bf/bf_cbc.c | 86 --
 crypto/bf/bf_enc.c |  4 ---
 2 files changed, 90 deletions(-)
 delete mode 100644 crypto/bf/bf_cbc.c

diff --git a/crypto/bf/bf_cbc.c b/crypto/bf/bf_cbc.c
deleted file mode 100644
index 6ed6257..000
--- a/crypto/bf/bf_cbc.c
+++ /dev/null
@@ -1,86 +0,0 @@
-/*
- * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
- *
- * Licensed under the OpenSSL license (the "License").  You may not use
- * this file except in compliance with the License.  You can obtain a copy
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#include 
-#include "bf_locl.h"
-
-void BF_cbc_encrypt(const unsigned char *in, unsigned char *out, long length,
-const BF_KEY *schedule, unsigned char *ivec, int encrypt)
-{
-register BF_LONG tin0, tin1;
-register BF_LONG tout0, tout1, xor0, xor1;
-register long l = length;
-BF_LONG tin[2];
-
-if (encrypt) {
-n2l(ivec, tout0);
-n2l(ivec, tout1);
-ivec -= 8;
-for (l -= 8; l >= 0; l -= 8) {
-n2l(in, tin0);
-n2l(in, tin1);
-tin0 ^= tout0;
-tin1 ^= tout1;
-tin[0] = tin0;
-tin[1] = tin1;
-BF_encrypt(tin, schedule);
-tout0 = tin[0];
-tout1 = tin[1];
-l2n(tout0, out);
-l2n(tout1, out);
-}
-if (l != -8) {
-n2ln(in, tin0, tin1, l + 8);
-tin0 ^= tout0;
-tin1 ^= tout1;
-tin[0] = tin0;
-tin[1] = tin1;
-BF_encrypt(tin, schedule);
-tout0 = tin[0];
-tout1 = tin[1];
-l2n(tout0, out);
-l2n(tout1, out);
-}
-l2n(tout0, ivec);
-l2n(tout1, ivec);
-} else {
-n2l(ivec, xor0);
-n2l(ivec, xor1);
-ivec -= 8;
-for (l -= 8; l >= 0; l -= 8) {
-n2l(in, tin0);
-n2l(in, tin1);
-tin[0] = tin0;
-tin[1] = tin1;
-BF_decrypt(tin, schedule);
-tout0 = tin[0] ^ xor0;
-tout1 = tin[1] ^ xor1;
-l2n(tout0, out);
-l2n(tout1, out);
-xor0 = tin0;
-xor1 = tin1;
-}
-if (l != -8) {
-n2l(in, tin0);
-n2l(in, tin1);
-tin[0] = tin0;
-tin[1] = tin1;
-BF_decrypt(tin, schedule);
-tout0 = tin[0] ^ xor0;
-tout1 = tin[1] ^ xor1;
-l2nn(tout0, tout1, out, l + 8);
-xor0 = tin0;
-xor1 = tin1;
-}
-l2n(xor0, ivec);
-l2n(xor1, ivec);
-}
-tin0 = tin1 = tout0 = tout1 = xor0 = xor1 = 0;
-tin[0] = tin[1] = 0;
-}
diff --git a/crypto/bf/bf_enc.c b/crypto/bf/bf_enc.c
index 9f80c56..67c0d78 100644
--- a/crypto/bf/bf_enc.c
+++ b/crypto/bf/bf_enc.c
@@ -60,8 +60,6 @@ void BF_encrypt(BF_LONG *data, const BF_KEY *key)
 data[0] = r & 0xU;
 }
 
-#ifndef BF_DEFAULT_OPTIONS
-
 void BF_decrypt(BF_LONG *data, const BF_KEY *key)
 {
 register BF_LONG l, r;
@@ -175,5 +173,3 @@ void BF_cbc_encrypt(const unsigned char *in, unsigned char 
*out, long length,
 tin0 = tin1 = tout0 = tout1 = xor0 = xor1 = 0;
 tin[0] = tin[1] = 0;
 }
-
-#endif
_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] Still FAILED build of OpenSSL branch OpenSSL_1_1_0-stable with options -d --strict-warnings no-tls1_2

2017-02-28 Thread OpenSSL run-checker
Platform and configuration command:

$ uname -a
Linux test 4.4.0-64-generic #85-Ubuntu SMP Mon Feb 20 11:50:30 UTC 2017 x86_64 
x86_64 x86_64 GNU/Linux
$ CC=clang ../openssl/config -d --strict-warnings no-tls1_2

Commit log since last time:

d0c278e Adjust the default value of the private key size

Build log ended with (last 100 lines):

../../openssl/test/recipes/05-test_rc4.t .. ok
../../openssl/test/recipes/05-test_rc5.t .. skipped: rc5 is not 
supported by this OpenSSL build
../../openssl/test/recipes/05-test_rmd.t .. ok
../../openssl/test/recipes/05-test_sha1.t . ok
../../openssl/test/recipes/05-test_sha256.t ... ok
../../openssl/test/recipes/05-test_sha512.t ... ok
../../openssl/test/recipes/05-test_wp.t ... ok
../../openssl/test/recipes/10-test_bn.t ... ok
../../openssl/test/recipes/10-test_exp.t .. ok
../../openssl/test/recipes/15-test_dh.t ... ok
../../openssl/test/recipes/15-test_dsa.t .. ok
../../openssl/test/recipes/15-test_ec.t ... ok
../../openssl/test/recipes/15-test_ecdh.t . ok
../../openssl/test/recipes/15-test_ecdsa.t  ok
../../openssl/test/recipes/15-test_rsa.t .. ok
../../openssl/test/recipes/20-test_enc.t .. ok
../../openssl/test/recipes/20-test_passwd.t ... ok
../../openssl/test/recipes/25-test_crl.t .. ok
../../openssl/test/recipes/25-test_d2i.t .. ok
../../openssl/test/recipes/25-test_pkcs7.t  ok
../../openssl/test/recipes/25-test_req.t .. ok
../../openssl/test/recipes/25-test_sid.t .. ok
../../openssl/test/recipes/25-test_verify.t ... ok
../../openssl/test/recipes/25-test_x509.t . ok
../../openssl/test/recipes/30-test_afalg.t  ok
../../openssl/test/recipes/30-test_engine.t ... ok
../../openssl/test/recipes/30-test_evp.t .. ok
../../openssl/test/recipes/30-test_evp_extra.t  ok
../../openssl/test/recipes/30-test_pbelu.t  ok
../../openssl/test/recipes/40-test_rehash.t ... ok
../../openssl/test/recipes/60-test_x509_store.t ... ok
../../openssl/test/recipes/70-test_asyncio.t .. ok
../../openssl/test/recipes/70-test_bad_dtls.t . ok
../../openssl/test/recipes/70-test_clienthello.t .. ok
../../openssl/test/recipes/70-test_packet.t ... ok
../../openssl/test/recipes/70-test_sslcbcpadding.t  skipped: 
test_sslcbcpadding needs TLSv1.2 enabled
../../openssl/test/recipes/70-test_sslcertstatus.t  ok
../../openssl/test/recipes/70-test_sslextension.t . ok
../../openssl/test/recipes/70-test_sslmessages.t .. ok
../../openssl/test/recipes/70-test_sslrecords.t ... skipped: 
test_sslrecords needs TLSv1.2 enabled
../../openssl/test/recipes/70-test_sslsessiontick.t ... ok
../../openssl/test/recipes/70-test_sslskewith0p.t . ok
../../openssl/test/recipes/70-test_sslvertol.t  ok
../../openssl/test/recipes/70-test_tlsextms.t . ok
../../openssl/test/recipes/70-test_verify_extra.t . ok
../../openssl/test/recipes/80-test_ca.t ... ok
../../openssl/test/recipes/80-test_cipherlist.t ... ok
../../openssl/test/recipes/80-test_cms.t .. ok
../../openssl/test/recipes/80-test_ct.t ... ok
../../openssl/test/recipes/80-test_dane.t . ok
../../openssl/test/recipes/80-test_dtls.t . ok
../../openssl/test/recipes/80-test_dtlsv1listen.t . ok
../../openssl/test/recipes/80-test_ocsp.t . ok
../../openssl/test/recipes/80-test_pkcs12.t ... ok

#   Failed test 'running ssl_test 17-renegotiate.conf'
#   at ../../openssl/test/recipes/80-test_ssl_new.t line 119.
# Looks like you failed 1 test of 3.

#   Failed test 'Test configuration 17-renegotiate.conf'
#   at ../../openssl/test/recipes/80-test_ssl_new.t line 85.
# Looks like you failed 1 test of 18.
../../openssl/test/recipes/80-test_ssl_new.t .. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/18 subtests 
../../openssl/test/recipes/80-test_ssl_old.t .. ok
../../openssl/test/recipes/80-test_ssl_test_ctx.t . ok
../../openssl/test/recipes/80-test_sslcorrupt.t ... ok
../../openssl/test/recipes/80-test_tsa.t .. ok
../../openssl/test/recipes/80-test_x509aux.t .. ok
../../openssl/test/recipes/90-test_async.t  ok
../../openssl/test/recipes/90-test_bio_enc.t .. ok
../../openssl/test/recipes/90-test_bioprint.t . ok
../../openssl/test/recipes/90-test_constant_time.t  ok
../../openssl/test/recipes/90-test_fuzz.t . ok
../../openssl/test/recipes/90-test_gmdiff.t ... ok
../../openssl/test/recipes/90-test_heartbeat.t  skipped: heartbeats is 
not supported by this OpenSSL build
../../openssl/test/recipes/90-test_ige.t .. ok
../../openssl/test/recipes/90-test_memleak.t ..

[openssl-commits] Still FAILED build of OpenSSL branch OpenSSL_1_1_0-stable with options -d --strict-warnings no-dtls1_2

2017-02-28 Thread OpenSSL run-checker
Platform and configuration command:

$ uname -a
Linux test 4.4.0-64-generic #85-Ubuntu SMP Mon Feb 20 11:50:30 UTC 2017 x86_64 
x86_64 x86_64 GNU/Linux
$ CC=clang ../openssl/config -d --strict-warnings no-dtls1_2

Commit log since last time:

d0c278e Adjust the default value of the private key size

Build log ended with (last 100 lines):

../../openssl/test/recipes/05-test_rc4.t .. ok
../../openssl/test/recipes/05-test_rc5.t .. skipped: rc5 is not 
supported by this OpenSSL build
../../openssl/test/recipes/05-test_rmd.t .. ok
../../openssl/test/recipes/05-test_sha1.t . ok
../../openssl/test/recipes/05-test_sha256.t ... ok
../../openssl/test/recipes/05-test_sha512.t ... ok
../../openssl/test/recipes/05-test_wp.t ... ok
../../openssl/test/recipes/10-test_bn.t ... ok
../../openssl/test/recipes/10-test_exp.t .. ok
../../openssl/test/recipes/15-test_dh.t ... ok
../../openssl/test/recipes/15-test_dsa.t .. ok
../../openssl/test/recipes/15-test_ec.t ... ok
../../openssl/test/recipes/15-test_ecdh.t . ok
../../openssl/test/recipes/15-test_ecdsa.t  ok
../../openssl/test/recipes/15-test_rsa.t .. ok
../../openssl/test/recipes/20-test_enc.t .. ok
../../openssl/test/recipes/20-test_passwd.t ... ok
../../openssl/test/recipes/25-test_crl.t .. ok
../../openssl/test/recipes/25-test_d2i.t .. ok
../../openssl/test/recipes/25-test_pkcs7.t  ok
../../openssl/test/recipes/25-test_req.t .. ok
../../openssl/test/recipes/25-test_sid.t .. ok
../../openssl/test/recipes/25-test_verify.t ... ok
../../openssl/test/recipes/25-test_x509.t . ok
../../openssl/test/recipes/30-test_afalg.t  ok
../../openssl/test/recipes/30-test_engine.t ... ok
../../openssl/test/recipes/30-test_evp.t .. ok
../../openssl/test/recipes/30-test_evp_extra.t  ok
../../openssl/test/recipes/30-test_pbelu.t  ok
../../openssl/test/recipes/40-test_rehash.t ... ok
../../openssl/test/recipes/60-test_x509_store.t ... ok
../../openssl/test/recipes/70-test_asyncio.t .. ok
../../openssl/test/recipes/70-test_bad_dtls.t . ok
../../openssl/test/recipes/70-test_clienthello.t .. ok
../../openssl/test/recipes/70-test_packet.t ... ok
../../openssl/test/recipes/70-test_sslcbcpadding.t  ok
../../openssl/test/recipes/70-test_sslcertstatus.t  ok
../../openssl/test/recipes/70-test_sslextension.t . ok
../../openssl/test/recipes/70-test_sslmessages.t .. ok
../../openssl/test/recipes/70-test_sslrecords.t ... ok
../../openssl/test/recipes/70-test_sslsessiontick.t ... ok
../../openssl/test/recipes/70-test_sslskewith0p.t . ok
../../openssl/test/recipes/70-test_sslvertol.t  ok
../../openssl/test/recipes/70-test_tlsextms.t . ok
../../openssl/test/recipes/70-test_verify_extra.t . ok
../../openssl/test/recipes/80-test_ca.t ... ok
../../openssl/test/recipes/80-test_cipherlist.t ... ok
../../openssl/test/recipes/80-test_cms.t .. ok
../../openssl/test/recipes/80-test_ct.t ... ok
../../openssl/test/recipes/80-test_dane.t . ok
../../openssl/test/recipes/80-test_dtls.t . ok
../../openssl/test/recipes/80-test_dtlsv1listen.t . ok
../../openssl/test/recipes/80-test_ocsp.t . ok
../../openssl/test/recipes/80-test_pkcs12.t ... ok

#   Failed test 'running ssl_test 18-dtls-renegotiate.conf'
#   at ../../openssl/test/recipes/80-test_ssl_new.t line 119.
# Looks like you failed 1 test of 3.

#   Failed test 'Test configuration 18-dtls-renegotiate.conf'
#   at ../../openssl/test/recipes/80-test_ssl_new.t line 85.
# Looks like you failed 1 test of 18.
../../openssl/test/recipes/80-test_ssl_new.t .. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/18 subtests 
../../openssl/test/recipes/80-test_ssl_old.t .. ok
../../openssl/test/recipes/80-test_ssl_test_ctx.t . ok
../../openssl/test/recipes/80-test_sslcorrupt.t ... ok
../../openssl/test/recipes/80-test_tsa.t .. ok
../../openssl/test/recipes/80-test_x509aux.t .. ok
../../openssl/test/recipes/90-test_async.t  ok
../../openssl/test/recipes/90-test_bio_enc.t .. ok
../../openssl/test/recipes/90-test_bioprint.t . ok
../../openssl/test/recipes/90-test_constant_time.t  ok
../../openssl/test/recipes/90-test_fuzz.t . ok
../../openssl/test/recipes/90-test_gmdiff.t ... ok
../../openssl/test/recipes/90-test_heartbeat.t  skipped: heartbeats is 
not supported by this OpenSSL build
../../openssl/test/recipes/90-test_ige.t .. ok
../../openssl/test/recipes/90-test_memleak.t .. ok
../../openssl/test/recipes/90-test_p5_crpt2.t . ok
../../openssl/test/

[openssl-commits] [openssl] master update

2017-02-28 Thread Dr . Stephen Henson
The branch master has been updated
   via  816060d212ad3f7bbfbdb2b7ffb8fc24f62e (commit)
  from  a7ab9755da22d2abbdbb6b3ce4fff18f17dc0da7 (commit)


- Log -
commit 816060d212ad3f7bbfbdb2b7ffb8fc24f62e
Author: Dr. Stephen Henson 
Date:   Tue Feb 28 15:11:48 2017 +

Remove more redundant tests: md4, md5, rmd, rc4, p5_crpt2

Reviewed-by: Richard Levitte 
(Merged from https://github.com/openssl/openssl/pull/2784)

---

Summary of changes:
 test/build.info |  28 +--
 test/evptests.txt   |  10 +--
 test/md4test.c  |  87 
 test/md5test.c  |  88 
 test/p5_crpt2_test.c| 159 
 test/rc4test.c  | 175 
 test/recipes/05-test_md4.t  |  12 ---
 test/recipes/05-test_md5.t  |  12 ---
 test/recipes/05-test_rc4.t  |  11 ---
 test/recipes/05-test_rmd.t  |  12 ---
 test/recipes/90-test_p5_crpt2.t |  12 ---
 test/rmdtest.c  |  92 -
 12 files changed, 9 insertions(+), 689 deletions(-)
 delete mode 100644 test/md4test.c
 delete mode 100644 test/md5test.c
 delete mode 100644 test/p5_crpt2_test.c
 delete mode 100644 test/rc4test.c
 delete mode 100644 test/recipes/05-test_md4.t
 delete mode 100644 test/recipes/05-test_md5.t
 delete mode 100644 test/recipes/05-test_rc4.t
 delete mode 100644 test/recipes/05-test_rmd.t
 delete mode 100644 test/recipes/90-test_p5_crpt2.t
 delete mode 100644 test/rmdtest.c

diff --git a/test/build.info b/test/build.info
index 0319557..614c590 100644
--- a/test/build.info
+++ b/test/build.info
@@ -14,15 +14,15 @@ IF[{- !$disabled{tests} -}]
   aborttest \
   sanitytest bntest \
   ectest ecdsatest ecdhtest gmdifftest pbelutest ideatest \
-  md2test md4test md5test \
+  md2test \
   hmactest \
-  rc2test rc4test rc5test \
+  rc2test rc5test \
   destest sha1test sha256t sha512t \
-  mdc2test rmdtest \
+  mdc2test \
   randtest dhtest enginetest casttest \
   bftest ssltest_old dsatest exptest rsa_test \
   evp_test evp_extra_test igetest v3nametest v3ext \
-  crltest danetest p5_crpt2_test bad_dtls_test \
+  crltest danetest bad_dtls_test \
   constant_time_test verify_extra_test clienthellotest \
   packettest asynctest secmemtest srptest memleaktest \
   dtlsv1listentest ct_test threadstest afalgtest d2i_test \
@@ -70,22 +70,10 @@ IF[{- !$disabled{tests} -}]
   INCLUDE[md2test]=../include
   DEPEND[md2test]=../libcrypto
 
-  SOURCE[md4test]=md4test.c
-  INCLUDE[md4test]=../include
-  DEPEND[md4test]=../libcrypto
-
-  SOURCE[md5test]=md5test.c
-  INCLUDE[md5test]=../include
-  DEPEND[md5test]=../libcrypto
-
   SOURCE[hmactest]=hmactest.c
   INCLUDE[hmactest]=../include
   DEPEND[hmactest]=../libcrypto
 
-  SOURCE[wp_test]=wp_test.c
-  INCLUDE[wp_test]=../include
-  DEPEND[wp_test]=../libcrypto
-
   SOURCE[rc2test]=rc2test.c
   INCLUDE[rc2test]=../include
   DEPEND[rc2test]=../libcrypto
@@ -118,10 +106,6 @@ IF[{- !$disabled{tests} -}]
   INCLUDE[mdc2test]=../include
   DEPEND[mdc2test]=../libcrypto
 
-  SOURCE[rmdtest]=rmdtest.c
-  INCLUDE[rmdtest]=../include
-  DEPEND[rmdtest]=../libcrypto
-
   SOURCE[randtest]=randtest.c
   INCLUDE[randtest]=../include
   DEPEND[randtest]=../libcrypto
@@ -186,10 +170,6 @@ IF[{- !$disabled{tests} -}]
   INCLUDE[danetest]=../include
   DEPEND[danetest]=../libcrypto ../libssl
 
-  SOURCE[p5_crpt2_test]=p5_crpt2_test.c
-  INCLUDE[p5_crpt2_test]=../include
-  DEPEND[p5_crpt2_test]=../libcrypto
-
   SOURCE[constant_time_test]=constant_time_test.c
   INCLUDE[constant_time_test]=.. ../include
   DEPEND[constant_time_test]=../libcrypto
diff --git a/test/evptests.txt b/test/evptests.txt
index 463028e..8ad634e 100644
--- a/test/evptests.txt
+++ b/test/evptests.txt
@@ -146,7 +146,7 @@ Input = 616263
 Output = a9993e364706816aba3e25717850c26c9cd0d89d
 
 
-# MD5 tests (from md5test.c)
+# MD5 tests
 Digest = MD5
 Input =
 Output = d41d8cd98f00b204e9800998ecf8427e
@@ -175,7 +175,7 @@ Digest = MD5
 Input = 
3132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930
 Output = 57edf4a22be3c955ac49da2e2107b67a
 
-# MD4 tests from md4test.c
+# MD4 tests
 Digest = MD4
 Input = ""
 Output = 31d6cfe0d16ae931b73c59d7e0c089c0
@@ -198,7 +198,7 @@ Digest = MD4
 Input = 
"12345678901234567890123456789012345678901234567890123456789012345678901234567890"
 Output = e33b4ddc9c38f2199c3e7b164fcc0536
 
-# RIPEMD160 tests from rmdtest.c
+# RIPEMD160 tests
 Digest = RIPEMD160
 Input = ""
 Output = 9c1185a5c5e9fc54612808977ee8f548b2258d31
@

[openssl-commits] Still FAILED build of OpenSSL branch OpenSSL_1_1_0-stable with options -d --strict-warnings no-tls1_2-method

2017-02-28 Thread OpenSSL run-checker
Platform and configuration command:

$ uname -a
Linux test 4.4.0-64-generic #85-Ubuntu SMP Mon Feb 20 11:50:30 UTC 2017 x86_64 
x86_64 x86_64 GNU/Linux
$ CC=clang ../openssl/config -d --strict-warnings no-tls1_2-method

Commit log since last time:

d0c278e Adjust the default value of the private key size

Build log ended with (last 100 lines):

../../openssl/test/recipes/05-test_rc4.t .. ok
../../openssl/test/recipes/05-test_rc5.t .. skipped: rc5 is not 
supported by this OpenSSL build
../../openssl/test/recipes/05-test_rmd.t .. ok
../../openssl/test/recipes/05-test_sha1.t . ok
../../openssl/test/recipes/05-test_sha256.t ... ok
../../openssl/test/recipes/05-test_sha512.t ... ok
../../openssl/test/recipes/05-test_wp.t ... ok
../../openssl/test/recipes/10-test_bn.t ... ok
../../openssl/test/recipes/10-test_exp.t .. ok
../../openssl/test/recipes/15-test_dh.t ... ok
../../openssl/test/recipes/15-test_dsa.t .. ok
../../openssl/test/recipes/15-test_ec.t ... ok
../../openssl/test/recipes/15-test_ecdh.t . ok
../../openssl/test/recipes/15-test_ecdsa.t  ok
../../openssl/test/recipes/15-test_rsa.t .. ok
../../openssl/test/recipes/20-test_enc.t .. ok
../../openssl/test/recipes/20-test_passwd.t ... ok
../../openssl/test/recipes/25-test_crl.t .. ok
../../openssl/test/recipes/25-test_d2i.t .. ok
../../openssl/test/recipes/25-test_pkcs7.t  ok
../../openssl/test/recipes/25-test_req.t .. ok
../../openssl/test/recipes/25-test_sid.t .. ok
../../openssl/test/recipes/25-test_verify.t ... ok
../../openssl/test/recipes/25-test_x509.t . ok
../../openssl/test/recipes/30-test_afalg.t  ok
../../openssl/test/recipes/30-test_engine.t ... ok
../../openssl/test/recipes/30-test_evp.t .. ok
../../openssl/test/recipes/30-test_evp_extra.t  ok
../../openssl/test/recipes/30-test_pbelu.t  ok
../../openssl/test/recipes/40-test_rehash.t ... ok
../../openssl/test/recipes/60-test_x509_store.t ... ok
../../openssl/test/recipes/70-test_asyncio.t .. ok
../../openssl/test/recipes/70-test_bad_dtls.t . ok
../../openssl/test/recipes/70-test_clienthello.t .. ok
../../openssl/test/recipes/70-test_packet.t ... ok
../../openssl/test/recipes/70-test_sslcbcpadding.t  skipped: 
test_sslcbcpadding needs TLSv1.2 enabled
../../openssl/test/recipes/70-test_sslcertstatus.t  ok
../../openssl/test/recipes/70-test_sslextension.t . ok
../../openssl/test/recipes/70-test_sslmessages.t .. ok
../../openssl/test/recipes/70-test_sslrecords.t ... skipped: 
test_sslrecords needs TLSv1.2 enabled
../../openssl/test/recipes/70-test_sslsessiontick.t ... ok
../../openssl/test/recipes/70-test_sslskewith0p.t . ok
../../openssl/test/recipes/70-test_sslvertol.t  ok
../../openssl/test/recipes/70-test_tlsextms.t . ok
../../openssl/test/recipes/70-test_verify_extra.t . ok
../../openssl/test/recipes/80-test_ca.t ... ok
../../openssl/test/recipes/80-test_cipherlist.t ... ok
../../openssl/test/recipes/80-test_cms.t .. ok
../../openssl/test/recipes/80-test_ct.t ... ok
../../openssl/test/recipes/80-test_dane.t . ok
../../openssl/test/recipes/80-test_dtls.t . ok
../../openssl/test/recipes/80-test_dtlsv1listen.t . ok
../../openssl/test/recipes/80-test_ocsp.t . ok
../../openssl/test/recipes/80-test_pkcs12.t ... ok

#   Failed test 'running ssl_test 17-renegotiate.conf'
#   at ../../openssl/test/recipes/80-test_ssl_new.t line 119.
# Looks like you failed 1 test of 3.

#   Failed test 'Test configuration 17-renegotiate.conf'
#   at ../../openssl/test/recipes/80-test_ssl_new.t line 85.
# Looks like you failed 1 test of 18.
../../openssl/test/recipes/80-test_ssl_new.t .. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/18 subtests 
../../openssl/test/recipes/80-test_ssl_old.t .. ok
../../openssl/test/recipes/80-test_ssl_test_ctx.t . ok
../../openssl/test/recipes/80-test_sslcorrupt.t ... ok
../../openssl/test/recipes/80-test_tsa.t .. ok
../../openssl/test/recipes/80-test_x509aux.t .. ok
../../openssl/test/recipes/90-test_async.t  ok
../../openssl/test/recipes/90-test_bio_enc.t .. ok
../../openssl/test/recipes/90-test_bioprint.t . ok
../../openssl/test/recipes/90-test_constant_time.t  ok
../../openssl/test/recipes/90-test_fuzz.t . ok
../../openssl/test/recipes/90-test_gmdiff.t ... ok
../../openssl/test/recipes/90-test_heartbeat.t  skipped: heartbeats is 
not supported by this OpenSSL build
../../openssl/test/recipes/90-test_ige.t .. ok
../../openssl/test/recipes/90-test_memleak.t ...

[openssl-commits] Still FAILED build of OpenSSL branch OpenSSL_1_1_0-stable with options -d --strict-warnings no-dtls1_2-method

2017-02-28 Thread OpenSSL run-checker
Platform and configuration command:

$ uname -a
Linux test 4.4.0-64-generic #85-Ubuntu SMP Mon Feb 20 11:50:30 UTC 2017 x86_64 
x86_64 x86_64 GNU/Linux
$ CC=clang ../openssl/config -d --strict-warnings no-dtls1_2-method

Commit log since last time:

d0c278e Adjust the default value of the private key size

Build log ended with (last 100 lines):

../../openssl/test/recipes/05-test_rc4.t .. ok
../../openssl/test/recipes/05-test_rc5.t .. skipped: rc5 is not 
supported by this OpenSSL build
../../openssl/test/recipes/05-test_rmd.t .. ok
../../openssl/test/recipes/05-test_sha1.t . ok
../../openssl/test/recipes/05-test_sha256.t ... ok
../../openssl/test/recipes/05-test_sha512.t ... ok
../../openssl/test/recipes/05-test_wp.t ... ok
../../openssl/test/recipes/10-test_bn.t ... ok
../../openssl/test/recipes/10-test_exp.t .. ok
../../openssl/test/recipes/15-test_dh.t ... ok
../../openssl/test/recipes/15-test_dsa.t .. ok
../../openssl/test/recipes/15-test_ec.t ... ok
../../openssl/test/recipes/15-test_ecdh.t . ok
../../openssl/test/recipes/15-test_ecdsa.t  ok
../../openssl/test/recipes/15-test_rsa.t .. ok
../../openssl/test/recipes/20-test_enc.t .. ok
../../openssl/test/recipes/20-test_passwd.t ... ok
../../openssl/test/recipes/25-test_crl.t .. ok
../../openssl/test/recipes/25-test_d2i.t .. ok
../../openssl/test/recipes/25-test_pkcs7.t  ok
../../openssl/test/recipes/25-test_req.t .. ok
../../openssl/test/recipes/25-test_sid.t .. ok
../../openssl/test/recipes/25-test_verify.t ... ok
../../openssl/test/recipes/25-test_x509.t . ok
../../openssl/test/recipes/30-test_afalg.t  ok
../../openssl/test/recipes/30-test_engine.t ... ok
../../openssl/test/recipes/30-test_evp.t .. ok
../../openssl/test/recipes/30-test_evp_extra.t  ok
../../openssl/test/recipes/30-test_pbelu.t  ok
../../openssl/test/recipes/40-test_rehash.t ... ok
../../openssl/test/recipes/60-test_x509_store.t ... ok
../../openssl/test/recipes/70-test_asyncio.t .. ok
../../openssl/test/recipes/70-test_bad_dtls.t . ok
../../openssl/test/recipes/70-test_clienthello.t .. ok
../../openssl/test/recipes/70-test_packet.t ... ok
../../openssl/test/recipes/70-test_sslcbcpadding.t  ok
../../openssl/test/recipes/70-test_sslcertstatus.t  ok
../../openssl/test/recipes/70-test_sslextension.t . ok
../../openssl/test/recipes/70-test_sslmessages.t .. ok
../../openssl/test/recipes/70-test_sslrecords.t ... ok
../../openssl/test/recipes/70-test_sslsessiontick.t ... ok
../../openssl/test/recipes/70-test_sslskewith0p.t . ok
../../openssl/test/recipes/70-test_sslvertol.t  ok
../../openssl/test/recipes/70-test_tlsextms.t . ok
../../openssl/test/recipes/70-test_verify_extra.t . ok
../../openssl/test/recipes/80-test_ca.t ... ok
../../openssl/test/recipes/80-test_cipherlist.t ... ok
../../openssl/test/recipes/80-test_cms.t .. ok
../../openssl/test/recipes/80-test_ct.t ... ok
../../openssl/test/recipes/80-test_dane.t . ok
../../openssl/test/recipes/80-test_dtls.t . ok
../../openssl/test/recipes/80-test_dtlsv1listen.t . ok
../../openssl/test/recipes/80-test_ocsp.t . ok
../../openssl/test/recipes/80-test_pkcs12.t ... ok

#   Failed test 'running ssl_test 18-dtls-renegotiate.conf'
#   at ../../openssl/test/recipes/80-test_ssl_new.t line 119.
# Looks like you failed 1 test of 3.

#   Failed test 'Test configuration 18-dtls-renegotiate.conf'
#   at ../../openssl/test/recipes/80-test_ssl_new.t line 85.
# Looks like you failed 1 test of 18.
../../openssl/test/recipes/80-test_ssl_new.t .. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/18 subtests 
../../openssl/test/recipes/80-test_ssl_old.t .. ok
../../openssl/test/recipes/80-test_ssl_test_ctx.t . ok
../../openssl/test/recipes/80-test_sslcorrupt.t ... ok
../../openssl/test/recipes/80-test_tsa.t .. ok
../../openssl/test/recipes/80-test_x509aux.t .. ok
../../openssl/test/recipes/90-test_async.t  ok
../../openssl/test/recipes/90-test_bio_enc.t .. ok
../../openssl/test/recipes/90-test_bioprint.t . ok
../../openssl/test/recipes/90-test_constant_time.t  ok
../../openssl/test/recipes/90-test_fuzz.t . ok
../../openssl/test/recipes/90-test_gmdiff.t ... ok
../../openssl/test/recipes/90-test_heartbeat.t  skipped: heartbeats is 
not supported by this OpenSSL build
../../openssl/test/recipes/90-test_ige.t .. ok
../../openssl/test/recipes/90-test_memleak.t .. ok
../../openssl/test/recipes/90-test_p5_crpt2.t . ok
../../openss

[openssl-commits] Still FAILED build of OpenSSL branch OpenSSL_1_1_0-stable with options -d --strict-warnings no-asm -ansi

2017-02-28 Thread OpenSSL run-checker
Platform and configuration command:

$ uname -a
Linux test 4.4.0-64-generic #85-Ubuntu SMP Mon Feb 20 11:50:30 UTC 2017 x86_64 
x86_64 x86_64 GNU/Linux
$ CC=clang ../openssl/config -d --strict-warnings no-asm -ansi

Commit log since last time:

d0c278e Adjust the default value of the private key size

Build log ended with (last 100 lines):

make[1]: Leaving directory '/home/openssl/run-checker-1.1.0/no-asm_-ansi'
make[1]: Entering directory '/home/openssl/run-checker-1.1.0/no-asm_-ansi'
clang  -I. -Icrypto/include -Iinclude -I../openssl -I../openssl/crypto/include 
-I../openssl/include -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_THREADS 
-DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSLDIR="\"/usr/local/ssl\"" 
-DENGINESDIR="\"/usr/local/lib/engines-1.1\"" -Wall -O0 -g -pthread -m64 
-DL_ENDIAN -Wextra -Qunused-arguments  -DDEBUG_UNUSED -DPEDANTIC -pedantic 
-Wno-long-long -Wall -Wsign-compare -Wmissing-prototypes -Wshadow -Wformat 
-Wtype-limits -Wundef -Werror -Qunused-arguments -Wextra -Wno-unused-parameter 
-Wno-missing-field-initializers -Wno-language-extension-token 
-Wno-extended-offsetof -Wconditional-uninitialized 
-Wincompatible-pointer-types-discards-qualifiers 
-Wmissing-variable-declarations -ansi -fPIC -DOPENSSL_USE_NODELETE -MMD -MF 
crypto/aes/aes_cbc.d.tmp -MT crypto/aes/aes_cbc.o -c -o crypto/aes/aes_cbc.o 
../openssl/crypto/aes/aes_cbc.c
clang  -I. -Icrypto/include -Iinclude -I../openssl -I../openssl/crypto/include 
-I../openssl/include -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_THREADS 
-DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSLDIR="\"/usr/local/ssl\"" 
-DENGINESDIR="\"/usr/local/lib/engines-1.1\"" -Wall -O0 -g -pthread -m64 
-DL_ENDIAN -Wextra -Qunused-arguments  -DDEBUG_UNUSED -DPEDANTIC -pedantic 
-Wno-long-long -Wall -Wsign-compare -Wmissing-prototypes -Wshadow -Wformat 
-Wtype-limits -Wundef -Werror -Qunused-arguments -Wextra -Wno-unused-parameter 
-Wno-missing-field-initializers -Wno-language-extension-token 
-Wno-extended-offsetof -Wconditional-uninitialized 
-Wincompatible-pointer-types-discards-qualifiers 
-Wmissing-variable-declarations -ansi -fPIC -DOPENSSL_USE_NODELETE -MMD -MF 
crypto/aes/aes_cfb.d.tmp -MT crypto/aes/aes_cfb.o -c -o crypto/aes/aes_cfb.o 
../openssl/crypto/aes/aes_cfb.c
clang  -I. -Icrypto/include -Iinclude -I../openssl -I../openssl/crypto/include 
-I../openssl/include -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_THREADS 
-DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSLDIR="\"/usr/local/ssl\"" 
-DENGINESDIR="\"/usr/local/lib/engines-1.1\"" -Wall -O0 -g -pthread -m64 
-DL_ENDIAN -Wextra -Qunused-arguments  -DDEBUG_UNUSED -DPEDANTIC -pedantic 
-Wno-long-long -Wall -Wsign-compare -Wmissing-prototypes -Wshadow -Wformat 
-Wtype-limits -Wundef -Werror -Qunused-arguments -Wextra -Wno-unused-parameter 
-Wno-missing-field-initializers -Wno-language-extension-token 
-Wno-extended-offsetof -Wconditional-uninitialized 
-Wincompatible-pointer-types-discards-qualifiers 
-Wmissing-variable-declarations -ansi -fPIC -DOPENSSL_USE_NODELETE -MMD -MF 
crypto/aes/aes_core.d.tmp -MT crypto/aes/aes_core.o -c -o crypto/aes/aes_core.o 
../openssl/crypto/aes/aes_core.c
clang  -I. -Icrypto/include -Iinclude -I../openssl -I../openssl/crypto/include 
-I../openssl/include -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_THREADS 
-DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSLDIR="\"/usr/local/ssl\"" 
-DENGINESDIR="\"/usr/local/lib/engines-1.1\"" -Wall -O0 -g -pthread -m64 
-DL_ENDIAN -Wextra -Qunused-arguments  -DDEBUG_UNUSED -DPEDANTIC -pedantic 
-Wno-long-long -Wall -Wsign-compare -Wmissing-prototypes -Wshadow -Wformat 
-Wtype-limits -Wundef -Werror -Qunused-arguments -Wextra -Wno-unused-parameter 
-Wno-missing-field-initializers -Wno-language-extension-token 
-Wno-extended-offsetof -Wconditional-uninitialized 
-Wincompatible-pointer-types-discards-qualifiers 
-Wmissing-variable-declarations -ansi -fPIC -DOPENSSL_USE_NODELETE -MMD -MF 
crypto/aes/aes_ecb.d.tmp -MT crypto/aes/aes_ecb.o -c -o crypto/aes/aes_ecb.o 
../openssl/crypto/aes/aes_ecb.c
clang  -I. -Icrypto/include -Iinclude -I../openssl -I../openssl/crypto/include 
-I../openssl/include -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_THREADS 
-DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSLDIR="\"/usr/local/ssl\"" 
-DENGINESDIR="\"/usr/local/lib/engines-1.1\"" -Wall -O0 -g -pthread -m64 
-DL_ENDIAN -Wextra -Qunused-arguments  -DDEBUG_UNUSED -DPEDANTIC -pedantic 
-Wno-long-long -Wall -Wsign-compare -Wmissing-prototypes -Wshadow -Wformat 
-Wtype-limits -Wundef -Werror -Qunused-arguments -Wextra -Wno-unused-parameter 
-Wno-missing-field-initializers -Wno-language-extension-token 
-Wno-extended-offsetof -Wconditional-uninitialized 
-Wincompatible-pointer-types-discards-qualifiers 
-Wmissing-variable-declarations -ansi -fPIC -DOPENSSL_USE_NODELETE -MMD -MF 
crypto/aes/aes_ige.d.tmp -MT crypto/aes/aes_ige.o -c -o crypto/aes/aes_ige.o 
../openssl/crypto/aes/aes_ige.c
clang  -I. -Icrypto/include -Iinclude -I../openssl -I../openssl/crypto/include 
-I../openssl/inclu

[openssl-commits] [openssl] master update

2017-02-28 Thread Matt Caswell
The branch master has been updated
   via  a633f2675ec7d031e879703c0b3dee2185bf44da (commit)
   via  38f2837b1b1b3d1bd417cd1032a3dd3b264352ef (commit)
   via  7f517c2676103db8123aaad5c722125d936f807c (commit)
   via  9fa36f5f4b32557c20b2c2665d50b239dcc49b91 (commit)
  from  816060d212ad3f7bbfbdb2b7ffb8fc24f62e (commit)


- Log -
commit a633f2675ec7d031e879703c0b3dee2185bf44da
Author: Matt Caswell 
Date:   Tue Feb 28 12:47:42 2017 +

Remove some commented out code in the tests

Reviewed-by: Richard Levitte 
Reviewed-by: Andy Polyakov 
(Merged from https://github.com/openssl/openssl/pull/2774)

commit 38f2837b1b1b3d1bd417cd1032a3dd3b264352ef
Author: Matt Caswell 
Date:   Tue Feb 28 12:47:22 2017 +

Remove some commented out code in libssl

Reviewed-by: Richard Levitte 
Reviewed-by: Andy Polyakov 
(Merged from https://github.com/openssl/openssl/pull/2774)

commit 7f517c2676103db8123aaad5c722125d936f807c
Author: Matt Caswell 
Date:   Tue Feb 28 14:55:35 2017 +

Remove some commented out code in libcrypto

Reviewed-by: Richard Levitte 
Reviewed-by: Andy Polyakov 
(Merged from https://github.com/openssl/openssl/pull/2774)

commit 9fa36f5f4b32557c20b2c2665d50b239dcc49b91
Author: Matt Caswell 
Date:   Tue Feb 28 12:46:56 2017 +

Remove some commented out code in the apps

Reviewed-by: Richard Levitte 
Reviewed-by: Andy Polyakov 
(Merged from https://github.com/openssl/openssl/pull/2774)

---

Summary of changes:
 apps/ca.c |  2 +-
 apps/s_cb.c   |  1 -
 apps/s_client.c   |  6 --
 crypto/asn1/d2i_pu.c  |  1 -
 crypto/bio/bss_acpt.c |  6 --
 crypto/bio/bss_dgram.c|  1 -
 crypto/bio/bss_fd.c   |  1 -
 crypto/bio/bss_sock.c |  1 -
 crypto/bn/bn_exp.c|  7 ---
 crypto/bn/bn_mul.c|  3 ---
 crypto/des/set_key.c  |  8 
 crypto/dso/dso_win32.c|  6 --
 crypto/evp/bio_b64.c  |  3 ---
 crypto/evp/bio_enc.c  | 26 --
 crypto/evp/bio_md.c   |  3 ---
 crypto/evp/p_seal.c   | 12 
 crypto/lhash/lhash.c  |  5 -
 crypto/objects/obj_dat.c  |  1 -
 crypto/x509v3/v3_pku.c| 15 +--
 ssl/record/rec_layer_d1.c |  9 -
 ssl/s3_lib.c  |  4 
 ssl/ssl_ciph.c|  3 ---
 ssl/statem/statem_clnt.c  |  2 --
 test/ssltest_old.c| 14 --
 24 files changed, 2 insertions(+), 138 deletions(-)

diff --git a/apps/ca.c b/apps/ca.c
index 9428c30..6a615ed 100644
--- a/apps/ca.c
+++ b/apps/ca.c
@@ -2132,7 +2132,7 @@ static int get_certificate_status(const char *serial, 
CA_DB *db)
 if (serial_len % 2) {
 /*
  * Set the first char to 0
- */ ;
+ */
 row[DB_serial][0] = '0';
 
 /* Copy String from serial to row[DB_serial] */
diff --git a/apps/s_cb.c b/apps/s_cb.c
index 080fc59..50bd965 100644
--- a/apps/s_cb.c
+++ b/apps/s_cb.c
@@ -1096,7 +1096,6 @@ void print_ssl_summary(SSL *s)
 {
 const SSL_CIPHER *c;
 X509 *peer;
-/* const char *pnam = SSL_is_server(s) ? "client" : "server"; */
 
 BIO_printf(bio_err, "Protocol version: %s\n", SSL_get_version(s));
 print_raw_cipherlist(s);
diff --git a/apps/s_client.c b/apps/s_client.c
index 4db3748..6e790cf 100644
--- a/apps/s_client.c
+++ b/apps/s_client.c
@@ -136,9 +136,6 @@ static void do_ssl_shutdown(SSL *ssl)
 #ifndef OPENSSL_NO_PSK
 /* Default PSK identity and key */
 static char *psk_identity = "Client_identity";
-/*
- * char *psk_key=NULL; by default PSK is not used
- */
 
 static unsigned int psk_client_cb(SSL *ssl, const char *hint, char *identity,
   unsigned int max_identity_len,
@@ -2405,7 +2402,6 @@ int s_client_main(int argc, char **argv)
 BIO_printf(bio_err, "bad select %d\n",
get_last_socket_error());
 goto shut;
-/* goto end; */
 }
 }
 
@@ -2496,7 +2492,6 @@ int s_client_main(int argc, char **argv)
 BIO_printf(bio_c_out, "DONE\n");
 ret = 0;
 goto shut;
-/* goto end; */
 }
 
 sbuf_len -= i;
@@ -2566,7 +2561,6 @@ int s_client_main(int argc, char **argv)
 case SSL_ERROR_SSL:
 ERR_print_errors(bio_err);
 goto shut;
-/* break; */
 }
 }
 /* OPENSSL_SYS_MSDOS includes OPENSSL_SYS_WINDOWS */
diff --git a/crypto/asn1/d2i_pu.c b/crypto/asn1/d2i_pu.c
index dfdc1a6..77c643b 100644
--- a/crypto/asn1/d2i_pu.c
+++ b/crypto/asn1/d2i_pu.c
@@ -66,7 +66,6 @@ EVP_PKEY *d2i_PublicKey(int type, EVP_PKEY **a, const 
unsigned char **pp,
 default:
 ASN1err(ASN1_F_D2I_PUBLICKEY, ASN1_R_U

[openssl-commits] [openssl] master update

2017-02-28 Thread Dr . Stephen Henson
The branch master has been updated
   via  c5055adf35772384ebc59e251acfc5276d4a153a (commit)
  from  a633f2675ec7d031e879703c0b3dee2185bf44da (commit)


- Log -
commit c5055adf35772384ebc59e251acfc5276d4a153a
Author: Dr. Stephen Henson 
Date:   Tue Feb 28 15:58:46 2017 +

Revert rc4test removal, it performs additional tests not in evptests.txt

Reviewed-by: Richard Levitte 
(Merged from https://github.com/openssl/openssl/pull/2789)

---

Summary of changes:
 test/build.info  |   2 +-
 test/evptests.txt|   2 +-
 test/rc4test.c   | 175 +++
 test/recipes/{05-test_bf.t => 05-test_rc4.t} |   3 +-
 4 files changed, 178 insertions(+), 4 deletions(-)
 create mode 100644 test/rc4test.c
 copy test/recipes/{05-test_bf.t => 05-test_rc4.t} (89%)

diff --git a/test/build.info b/test/build.info
index 614c590..bec9819 100644
--- a/test/build.info
+++ b/test/build.info
@@ -16,7 +16,7 @@ IF[{- !$disabled{tests} -}]
   ectest ecdsatest ecdhtest gmdifftest pbelutest ideatest \
   md2test \
   hmactest \
-  rc2test rc5test \
+  rc2test rc4test rc5test \
   destest sha1test sha256t sha512t \
   mdc2test \
   randtest dhtest enginetest casttest \
diff --git a/test/evptests.txt b/test/evptests.txt
index 8ad634e..40bb69e 100644
--- a/test/evptests.txt
+++ b/test/evptests.txt
@@ -957,7 +957,7 @@ Plaintext = 
37363534333231204E6F77206973207468652074696D6520666F7220
 Ciphertext = 3FE301C962AC01D02213763C1CBD4CDC799657C064ECF5D41C673812CFDE9675
 
 
-# RC4 tests
+# RC4 tests (from rc4test)
 Cipher = RC4
 Key = 0123456789abcdef0123456789abcdef
 Plaintext = 0123456789abcdef
diff --git a/test/rc4test.c b/test/rc4test.c
new file mode 100644
index 000..7a77b82
--- /dev/null
+++ b/test/rc4test.c
@@ -0,0 +1,175 @@
+/*
+ * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
+ *
+ * Licensed under the OpenSSL license (the "License").  You may not use
+ * this file except in compliance with the License.  You can obtain a copy
+ * in the file LICENSE in the source distribution or at
+ * https://www.openssl.org/source/license.html
+ */
+
+#include 
+#include 
+#include 
+
+#include "../e_os.h"
+
+#ifdef OPENSSL_NO_RC4
+int main(int argc, char *argv[])
+{
+printf("No RC4 support\n");
+return (0);
+}
+#else
+# include 
+# include 
+
+static unsigned char keys[7][30] = {
+{8, 0x01, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef},
+{8, 0x01, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef},
+{8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
+{4, 0xef, 0x01, 0x23, 0x45},
+{8, 0x01, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef},
+{4, 0xef, 0x01, 0x23, 0x45},
+};
+
+static unsigned char data_len[7] = { 8, 8, 8, 20, 28, 10 };
+
+static unsigned char data[7][30] = {
+{0x01, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef, 0xff},
+{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff},
+{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff},
+{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0xff},
+{0x12, 0x34, 0x56, 0x78, 0x9A, 0xBC, 0xDE, 0xF0,
+ 0x12, 0x34, 0x56, 0x78, 0x9A, 0xBC, 0xDE, 0xF0,
+ 0x12, 0x34, 0x56, 0x78, 0x9A, 0xBC, 0xDE, 0xF0,
+ 0x12, 0x34, 0x56, 0x78, 0xff},
+{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff},
+{0},
+};
+
+static unsigned char output[7][30] = {
+{0x75, 0xb7, 0x87, 0x80, 0x99, 0xe0, 0xc5, 0x96, 0x00},
+{0x74, 0x94, 0xc2, 0xe7, 0x10, 0x4b, 0x08, 0x79, 0x00},
+{0xde, 0x18, 0x89, 0x41, 0xa3, 0x37, 0x5d, 0x3a, 0x00},
+{0xd6, 0xa1, 0x41, 0xa7, 0xec, 0x3c, 0x38, 0xdf,
+ 0xbd, 0x61, 0x5a, 0x11, 0x62, 0xe1, 0xc7, 0xba,
+ 0x36, 0xb6, 0x78, 0x58, 0x00},
+{0x66, 0xa0, 0x94, 0x9f, 0x8a, 0xf7, 0xd6, 0x89,
+ 0x1f, 0x7f, 0x83, 0x2b, 0xa8, 0x33, 0xc0, 0x0c,
+ 0x89, 0x2e, 0xbe, 0x30, 0x14, 0x3c, 0xe2, 0x87,
+ 0x40, 0x01, 0x1e, 0xcf, 0x00},
+{0xd6, 0xa1, 0x41, 0xa7, 0xec, 0x3c, 0x38, 0xdf, 0xbd, 0x61, 0x00},
+{0},
+};
+
+int main(int argc, char *argv[])
+{
+int i, err = 0;
+int j;
+unsigned char *p;
+RC4_KEY key;
+unsigned char obuf[512];
+
+for (i = 0; i < 6; i++) {
+RC4_set_key(&key, keys[i][0], &(keys[i][1]));
+memset(obuf, 0, sizeof(obuf));
+RC4(&key, data_len[i], &(data[i][0]), obuf);
+if (memcmp(obuf, output[i], data_len[i] + 1) != 0) {
+printf("error calculating RC4\n");
+printf("output:");
+for (j = 0; j < data_len[i] + 1; j++)
+printf(" %02x", obuf[j]);
+printf("\n");
+printf("expect:");
+p = &(output[i][0]);
+for (j = 0; j < da

[openssl-commits] Errored: openssl/openssl#9034 (master - 14097b6)

2017-02-28 Thread Travis CI
Build Update for openssl/openssl
-

Build: #9034
Status: Errored

Duration: 14 minutes and 36 seconds
Commit: 14097b6 (master)
Author: Richard Levitte
Message: Code health: Stop using timeb.h / ftime() (VMS only)

Reviewed-by: Rich Salz 
(Merged from https://github.com/openssl/openssl/pull/2775)

View the changeset: 
https://github.com/openssl/openssl/compare/8a05d6bb264e...14097b6a9263

View the full build log and details: 
https://travis-ci.org/openssl/openssl/builds/206198919

--

You can configure recipients for build notifications in your .travis.yml file. 
See https://docs.travis-ci.com/user/notifications

_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] Errored: openssl/openssl#9035 (master - 2722ff5)

2017-02-28 Thread Travis CI
Build Update for openssl/openssl
-

Build: #9035
Status: Errored

Duration: 16 minutes and 43 seconds
Commit: 2722ff5 (master)
Author: Todd Short
Message: Remove some #if 0 code in ssl, crypto/bio

Reviewed-by: Richard Levitte 
Reviewed-by: Rich Salz 
(Merged from https://github.com/openssl/openssl/pull/2781)

View the changeset: 
https://github.com/openssl/openssl/compare/14097b6a9263...2722ff506de5

View the full build log and details: 
https://travis-ci.org/openssl/openssl/builds/206199146

--

You can configure recipients for build notifications in your .travis.yml file. 
See https://docs.travis-ci.com/user/notifications

_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] [openssl] master update

2017-02-28 Thread Matt Caswell
The branch master has been updated
   via  4d118fe007692de2dd8c5dd084254f8d3b308167 (commit)
   via  e9ee653671b52327d608642662d83f91665d1167 (commit)
  from  c5055adf35772384ebc59e251acfc5276d4a153a (commit)


- Log -
commit 4d118fe007692de2dd8c5dd084254f8d3b308167
Author: Matt Caswell 
Date:   Tue Feb 28 15:53:55 2017 +

Fix test_ssl_new when compiled with no-tls1_2 or no-dtls1_2

Reviewed-by: Richard Levitte 
(Merged from https://github.com/openssl/openssl/pull/2788)

commit e9ee653671b52327d608642662d83f91665d1167
Author: Matt Caswell 
Date:   Tue Feb 28 15:53:35 2017 +

Fix sslapitest when compiled with no-tls1_2

Reviewed-by: Richard Levitte 
(Merged from https://github.com/openssl/openssl/pull/2788)

---

Summary of changes:
 test/recipes/80-test_ssl_new.t | 2 ++
 test/ssl-tests/17-renegotiate.conf.in  | 9 +++--
 test/ssl-tests/18-dtls-renegotiate.conf.in | 8 +++-
 test/sslapitest.c  | 4 
 4 files changed, 20 insertions(+), 3 deletions(-)

diff --git a/test/recipes/80-test_ssl_new.t b/test/recipes/80-test_ssl_new.t
index 8006e5f..f94a7d8 100644
--- a/test/recipes/80-test_ssl_new.t
+++ b/test/recipes/80-test_ssl_new.t
@@ -59,6 +59,8 @@ my %conf_dependent_tests = (
   "07-dtls-protocol-version.conf" => !$is_default_dtls,
   "10-resumption.conf" => !$is_default_tls,
   "11-dtls_resumption.conf" => !$is_default_dtls,
+  "17-renegotiate.conf" => disabled("tls1_2"),
+  "18-dtls-renegotiate.conf" => disabled("dtls1_2"),
   "19-mac-then-encrypt.conf" => !$is_default_tls,
   "20-cert-select.conf" => !$is_default_tls || $no_dh || $no_dsa,
 );
diff --git a/test/ssl-tests/17-renegotiate.conf.in 
b/test/ssl-tests/17-renegotiate.conf.in
index 1efba84..867a4f2 100644
--- a/test/ssl-tests/17-renegotiate.conf.in
+++ b/test/ssl-tests/17-renegotiate.conf.in
@@ -13,6 +13,7 @@ use strict;
 use warnings;
 
 package ssltests;
+use OpenSSL::Test::Utils;
 
 our @tests = (
 {
@@ -106,7 +107,9 @@ our @tests = (
 "ResumptionExpected" => "No",
 "ExpectedResult" => "Success"
 }
-},
+}
+);
+our @tests_tls1_2 = (
 {
 name => "renegotiate-aead-to-non-aead",
 server => {
@@ -182,5 +185,7 @@ our @tests = (
 "ResumptionExpected" => "No",
 "ExpectedResult" => "Success"
 }
-},
+}
 );
+
+push @tests, @tests_tls1_2 unless disabled("tls1_2");
diff --git a/test/ssl-tests/18-dtls-renegotiate.conf.in 
b/test/ssl-tests/18-dtls-renegotiate.conf.in
index c7020f0..7a65a85 100644
--- a/test/ssl-tests/18-dtls-renegotiate.conf.in
+++ b/test/ssl-tests/18-dtls-renegotiate.conf.in
@@ -13,6 +13,7 @@ use strict;
 use warnings;
 
 package ssltests;
+use OpenSSL::Test::Utils;
 
 our @tests = (
 {
@@ -92,7 +93,9 @@ our @tests = (
 "ResumptionExpected" => "No",
 "ExpectedResult" => "Success"
 }
-},
+}
+);
+our @tests_dtls1_2 = (
 {
 name => "renegotiate-aead-to-non-aead",
 server => {
@@ -166,3 +169,6 @@ our @tests = (
 }
 },
 );
+
+
+push @tests, @tests_dtls1_2 unless disabled("dtls1_2");
diff --git a/test/sslapitest.c b/test/sslapitest.c
index f492e0b..4b5e8c0 100644
--- a/test/sslapitest.c
+++ b/test/sslapitest.c
@@ -477,6 +477,7 @@ end:
 }
 #endif
 
+#ifndef OPENSSL_NO_TLS1_2
 static int full_early_callback(SSL *s, int *al, void *arg)
 {
 int *ctr = arg;
@@ -559,6 +560,7 @@ end:
 
 return testresult;
 }
+#endif
 
 static int execute_test_large_message(const SSL_METHOD *smeth,
   const SSL_METHOD *cmeth, int read_ahead)
@@ -1568,7 +1570,9 @@ int test_main(int argc, char *argv[])
 #ifndef OPENSSL_NO_TLS1_3
 ADD_TEST(test_keylog_no_master_key);
 #endif
+#ifndef OPENSSL_NO_TLS1_2
 ADD_TEST(test_early_cb);
+#endif
 
 testresult = run_tests(argv[0]);
 
_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] [openssl] OpenSSL_1_1_0-stable update

2017-02-28 Thread Matt Caswell
The branch OpenSSL_1_1_0-stable has been updated
   via  4ba808de916c9390d45d733563313d8d8f8dbe44 (commit)
  from  0ddda824399d0b30057c6a0705ea65bf1985cf48 (commit)


- Log -
commit 4ba808de916c9390d45d733563313d8d8f8dbe44
Author: Matt Caswell 
Date:   Tue Feb 28 15:53:55 2017 +

Fix test_ssl_new when compiled with no-tls1_2 or no-dtls1_2

Reviewed-by: Richard Levitte 
(Merged from https://github.com/openssl/openssl/pull/2788)
(cherry picked from commit 4d118fe007692de2dd8c5dd084254f8d3b308167)

---

Summary of changes:
 test/recipes/80-test_ssl_new.t | 2 ++
 test/ssl-tests/17-renegotiate.conf.in  | 9 +++--
 test/ssl-tests/18-dtls-renegotiate.conf.in | 8 +++-
 3 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/test/recipes/80-test_ssl_new.t b/test/recipes/80-test_ssl_new.t
index 5348a73..2f6a69a 100644
--- a/test/recipes/80-test_ssl_new.t
+++ b/test/recipes/80-test_ssl_new.t
@@ -54,6 +54,8 @@ my %conf_dependent_tests = (
   "07-dtls-protocol-version.conf" => !$is_default_dtls,
   "10-resumption.conf" => !$is_default_tls,
   "11-dtls_resumption.conf" => !$is_default_dtls,
+  "17-renegotiate.conf" => disabled("tls1_2"),
+  "18-dtls-renegotiate.conf" => disabled("dtls1_2"),
 );
 
 # Add your test here if it should be skipped for some compile-time
diff --git a/test/ssl-tests/17-renegotiate.conf.in 
b/test/ssl-tests/17-renegotiate.conf.in
index fde57bc..c919a16 100644
--- a/test/ssl-tests/17-renegotiate.conf.in
+++ b/test/ssl-tests/17-renegotiate.conf.in
@@ -13,6 +13,7 @@ use strict;
 use warnings;
 
 package ssltests;
+use OpenSSL::Test::Utils;
 
 my $dir_sep = $^O ne "VMS" ? "/" : "";
 
@@ -102,7 +103,9 @@ our @tests = (
 "ResumptionExpected" => "No",
 "ExpectedResult" => "Success"
 }
-},
+}
+);
+our @tests_tls1_2 = (
 {
 name => "renegotiate-aead-to-non-aead",
 server => {
@@ -178,5 +181,7 @@ our @tests = (
 "ResumptionExpected" => "No",
 "ExpectedResult" => "Success"
 }
-},
+}
 );
+
+push @tests, @tests_tls1_2 unless disabled("tls1_2");
diff --git a/test/ssl-tests/18-dtls-renegotiate.conf.in 
b/test/ssl-tests/18-dtls-renegotiate.conf.in
index 43046e3..f32ab37 100644
--- a/test/ssl-tests/18-dtls-renegotiate.conf.in
+++ b/test/ssl-tests/18-dtls-renegotiate.conf.in
@@ -13,6 +13,7 @@ use strict;
 use warnings;
 
 package ssltests;
+use OpenSSL::Test::Utils;
 
 my $dir_sep = $^O ne "VMS" ? "/" : "";
 
@@ -94,7 +95,9 @@ our @tests = (
 "ResumptionExpected" => "No",
 "ExpectedResult" => "Success"
 }
-},
+}
+);
+our @tests_dtls1_2 = (
 {
 name => "renegotiate-aead-to-non-aead",
 server => {
@@ -168,3 +171,6 @@ our @tests = (
 }
 },
 );
+
+
+push @tests, @tests_dtls1_2 unless disabled("dtls1_2");
_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] Errored: openssl/openssl#9038 (master - a2121e1)

2017-02-28 Thread Travis CI
Build Update for openssl/openssl
-

Build: #9038
Status: Errored

Duration: 12 minutes and 30 seconds
Commit: a2121e1 (master)
Author: Dr. Stephen Henson
Message: Remove wp_test.c: exactly the same tests are in evptests.txt

Reviewed-by: Rich Salz 
Reviewed-by: Richard Levitte 
(Merged from https://github.com/openssl/openssl/pull/2783)

View the changeset: 
https://github.com/openssl/openssl/compare/1fef2f80503b...a2121e1425ce

View the full build log and details: 
https://travis-ci.org/openssl/openssl/builds/206206921

--

You can configure recipients for build notifications in your .travis.yml file. 
See https://docs.travis-ci.com/user/notifications

_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] Passed: openssl/openssl#9044 (OpenSSL_1_0_2-stable - 91350ad)

2017-02-28 Thread Travis CI
Build Update for openssl/openssl
-

Build: #9044
Status: Passed

Duration: 6 minutes and 9 seconds
Commit: 91350ad (OpenSSL_1_0_2-stable)
Author: Rich Salz
Message: Update year, wording tweak

Reviewed-by: Richard Levitte 
(Merged from https://github.com/openssl/openssl/pull/2755)
(cherry picked from commit 6faa3456326afa56ea8c25a0b49239392074e192)

View the changeset: 
https://github.com/openssl/openssl/compare/0da68ec9a267...91350ad5ca90

View the full build log and details: 
https://travis-ci.org/openssl/openssl/builds/206214981

--

You can configure recipients for build notifications in your .travis.yml file. 
See https://docs.travis-ci.com/user/notifications

_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] Errored: openssl/openssl#9054 (master - c5055ad)

2017-02-28 Thread Travis CI
Build Update for openssl/openssl
-

Build: #9054
Status: Errored

Duration: 11 minutes and 35 seconds
Commit: c5055ad (master)
Author: Dr. Stephen Henson
Message: Revert rc4test removal, it performs additional tests not in 
evptests.txt

Reviewed-by: Richard Levitte 
(Merged from https://github.com/openssl/openssl/pull/2789)

View the changeset: 
https://github.com/openssl/openssl/compare/a633f2675ec7...c5055adf3577

View the full build log and details: 
https://travis-ci.org/openssl/openssl/builds/206233615

--

You can configure recipients for build notifications in your .travis.yml file. 
See https://docs.travis-ci.com/user/notifications

_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] Passed: openssl/openssl#9056 (master - 4d118fe)

2017-02-28 Thread Travis CI
Build Update for openssl/openssl
-

Build: #9056
Status: Passed

Duration: 15 minutes and 57 seconds
Commit: 4d118fe (master)
Author: Matt Caswell
Message: Fix test_ssl_new when compiled with no-tls1_2 or no-dtls1_2

Reviewed-by: Richard Levitte 
(Merged from https://github.com/openssl/openssl/pull/2788)

View the changeset: 
https://github.com/openssl/openssl/compare/c5055adf3577...4d118fe00769

View the full build log and details: 
https://travis-ci.org/openssl/openssl/builds/206241923

--

You can configure recipients for build notifications in your .travis.yml file. 
See https://docs.travis-ci.com/user/notifications

_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] [openssl] master update

2017-02-28 Thread Rich Salz
The branch master has been updated
   via  a2b22cd6a857f249cae5d4eacb099d92e2ca3bea (commit)
  from  4d118fe007692de2dd8c5dd084254f8d3b308167 (commit)


- Log -
commit a2b22cd6a857f249cae5d4eacb099d92e2ca3bea
Author: Rich Salz 
Date:   Tue Feb 28 12:08:54 2017 -0500

Remove GENCB_TEST compile flag

Reviewed-by: Richard Levitte 
(Merged from https://github.com/openssl/openssl/pull/2790)

---

Summary of changes:
 apps/dsaparam.c | 52 +---
 1 file changed, 1 insertion(+), 51 deletions(-)

diff --git a/apps/dsaparam.c b/apps/dsaparam.c
index 2522f1f..26fcf1e 100644
--- a/apps/dsaparam.c
+++ b/apps/dsaparam.c
@@ -24,24 +24,12 @@ NON_EMPTY_TRANSLATION_UNIT
 # include 
 # include 
 
-# ifdef GENCB_TEST
-
-static int stop_keygen_flag = 0;
-
-static void timebomb_sigalarm(int foo)
-{
-stop_keygen_flag = 1;
-}
-
-# endif
-
 static int dsa_cb(int p, int n, BN_GENCB *cb);
 
 typedef enum OPTION_choice {
 OPT_ERR = -1, OPT_EOF = 0, OPT_HELP,
 OPT_INFORM, OPT_OUTFORM, OPT_IN, OPT_OUT, OPT_TEXT, OPT_C,
-OPT_NOOUT, OPT_GENKEY, OPT_RAND, OPT_ENGINE,
-OPT_TIMEBOMB
+OPT_NOOUT, OPT_GENKEY, OPT_RAND, OPT_ENGINE
 } OPTION_CHOICE;
 
 const OPTIONS dsaparam_options[] = {
@@ -55,9 +43,6 @@ const OPTIONS dsaparam_options[] = {
 {"noout", OPT_NOOUT, '-', "No output"},
 {"genkey", OPT_GENKEY, '-', "Generate a DSA key"},
 {"rand", OPT_RAND, 's', "Files to use for random number input"},
-# ifdef GENCB_TEST
-{"timebomb", OPT_TIMEBOMB, 'p', "Interrupt keygen after 'pnum' seconds"},
-# endif
 # ifndef OPENSSL_NO_ENGINE
 {"engine", OPT_ENGINE, 's', "Use engine e, possibly a hardware device"},
 # endif
@@ -73,9 +58,6 @@ int dsaparam_main(int argc, char **argv)
 int numbits = -1, num = 0, genkey = 0, need_rand = 0;
 int informat = FORMAT_PEM, outformat = FORMAT_PEM, noout = 0, C = 0;
 int ret = 1, i, text = 0, private = 0;
-# ifdef GENCB_TEST
-int timebomb = 0;
-# endif
 char *infile = NULL, *outfile = NULL, *prog, *inrand = NULL;
 OPTION_CHOICE o;
 
@@ -108,11 +90,6 @@ int dsaparam_main(int argc, char **argv)
 case OPT_ENGINE:
 e = setup_engine(opt_arg(), 0);
 break;
-case OPT_TIMEBOMB:
-# ifdef GENCB_TEST
-timebomb = atoi(opt_arg());
-break;
-# endif
 case OPT_TEXT:
 text = 1;
 break;
@@ -173,30 +150,7 @@ int dsaparam_main(int argc, char **argv)
 BIO_printf(bio_err, "Generating DSA parameters, %d bit long prime\n",
num);
 BIO_printf(bio_err, "This could take some time\n");
-# ifdef GENCB_TEST
-if (timebomb > 0) {
-struct sigaction act;
-act.sa_handler = timebomb_sigalarm;
-act.sa_flags = 0;
-BIO_printf(bio_err,
-   "(though I'll stop it if not done within %d secs)\n",
-   timebomb);
-if (sigaction(SIGALRM, &act, NULL) != 0) {
-BIO_printf(bio_err, "Error, couldn't set SIGALRM handler\n");
-goto end;
-}
-alarm(timebomb);
-}
-# endif
 if (!DSA_generate_parameters_ex(dsa, num, NULL, 0, NULL, NULL, cb)) {
-# ifdef GENCB_TEST
-if (stop_keygen_flag) {
-BIO_printf(bio_err, "DSA key generation time-stopped\n");
-/* This is an asked-for behaviour! */
-ret = 0;
-goto end;
-}
-# endif
 ERR_print_errors(bio_err);
 BIO_printf(bio_err, "Error, DSA key generation failed\n");
 goto end;
@@ -304,10 +258,6 @@ static int dsa_cb(int p, int n, BN_GENCB *cb)
 c = '\n';
 BIO_write(BN_GENCB_get_arg(cb), &c, 1);
 (void)BIO_flush(BN_GENCB_get_arg(cb));
-# ifdef GENCB_TEST
-if (stop_keygen_flag)
-return 0;
-# endif
 return 1;
 }
 #endif
_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] [openssl] master update

2017-02-28 Thread Emilia Kasper
The branch master has been updated
   via  d5aa14dde53d43ae08e4269f0e27222e824a40c2 (commit)
   via  c26f655fdd18ac19016c1c0496105f5256a1e84d (commit)
  from  a2b22cd6a857f249cae5d4eacb099d92e2ca3bea (commit)


- Log -
commit d5aa14dde53d43ae08e4269f0e27222e824a40c2
Author: Emilia Kasper 
Date:   Tue Feb 28 18:12:25 2017 +0100

Remove memcpy unrolling in bn_lib.c

Reviewed-by: Rich Salz 
Reviewed-by: Andy Polyakov 

commit c26f655fdd18ac19016c1c0496105f5256a1e84d
Author: Emilia Kasper 
Date:   Tue Feb 28 16:53:35 2017 +0100

Remove support for HMAC_TEST_PRIVATE_KEY_FORMAT

This is a bogus, undocumented format that was intended for testing; I
don't think anyone is using it.

Reviewed-by: Richard Levitte 

---

Summary of changes:
 crypto/bn/bn_lib.c | 90 ++
 crypto/hmac/hm_ameth.c | 54 --
 2 files changed, 10 insertions(+), 134 deletions(-)

diff --git a/crypto/bn/bn_lib.c b/crypto/bn/bn_lib.c
index 17d34c3..e61c870 100644
--- a/crypto/bn/bn_lib.c
+++ b/crypto/bn/bn_lib.c
@@ -245,9 +245,7 @@ BIGNUM *BN_new(void)
 /* The caller MUST check that words > b->dmax before calling this */
 static BN_ULONG *bn_expand_internal(const BIGNUM *b, int words)
 {
-BN_ULONG *A, *a = NULL;
-const BN_ULONG *B;
-int i;
+BN_ULONG *a = NULL;
 
 bn_check_top(b);
 
@@ -260,56 +258,18 @@ static BN_ULONG *bn_expand_internal(const BIGNUM *b, int 
words)
 return (NULL);
 }
 if (BN_get_flags(b, BN_FLG_SECURE))
-a = A = OPENSSL_secure_zalloc(words * sizeof(*a));
+a = OPENSSL_secure_zalloc(words * sizeof(*a));
 else
-a = A = OPENSSL_zalloc(words * sizeof(*a));
-if (A == NULL) {
+a = OPENSSL_zalloc(words * sizeof(*a));
+if (a == NULL) {
 BNerr(BN_F_BN_EXPAND_INTERNAL, ERR_R_MALLOC_FAILURE);
 return (NULL);
 }
 
-#if 1
-B = b->d;
-/* Check if the previous number needs to be copied */
-if (B != NULL) {
-for (i = b->top >> 2; i > 0; i--, A += 4, B += 4) {
-/*
- * The fact that the loop is unrolled
- * 4-wise is a tribute to Intel. It's
- * the one that doesn't have enough
- * registers to accommodate more data.
- * I'd unroll it 8-wise otherwise:-)
- *
- *  
- */
-BN_ULONG a0, a1, a2, a3;
-a0 = B[0];
-a1 = B[1];
-a2 = B[2];
-a3 = B[3];
-A[0] = a0;
-A[1] = a1;
-A[2] = a2;
-A[3] = a3;
-}
-switch (b->top & 3) {
-case 3:
-A[2] = B[2];
-case 2:
-A[1] = B[1];
-case 1:
-A[0] = B[0];
-case 0:
-/* Without the "case 0" some old optimizers got this wrong. */
-;
-}
-}
-#else
-memset(A, 0, sizeof(*A) * words);
-memcpy(A, b->d, sizeof(b->d[0]) * b->top);
-#endif
+assert(b->top <= words);
+memcpy(a, b->d, sizeof(*a) * b->top);
 
-return (a);
+return a;
 }
 
 /*
@@ -361,49 +321,19 @@ BIGNUM *BN_dup(const BIGNUM *a)
 
 BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b)
 {
-int i;
-BN_ULONG *A;
-const BN_ULONG *B;
-
 bn_check_top(b);
 
 if (a == b)
-return (a);
+return a;
 if (bn_wexpand(a, b->top) == NULL)
-return (NULL);
+return NULL;
 
-#if 1
-A = a->d;
-B = b->d;
-for (i = b->top >> 2; i > 0; i--, A += 4, B += 4) {
-BN_ULONG a0, a1, a2, a3;
-a0 = B[0];
-a1 = B[1];
-a2 = B[2];
-a3 = B[3];
-A[0] = a0;
-A[1] = a1;
-A[2] = a2;
-A[3] = a3;
-}
-/* ultrix cc workaround, see comments in bn_expand_internal */
-switch (b->top & 3) {
-case 3:
-A[2] = B[2];
-case 2:
-A[1] = B[1];
-case 1:
-A[0] = B[0];
-case 0:;
-}
-#else
 memcpy(a->d, b->d, sizeof(b->d[0]) * b->top);
-#endif
 
 a->top = b->top;
 a->neg = b->neg;
 bn_check_top(a);
-return (a);
+return a;
 }
 
 void BN_swap(BIGNUM *a, BIGNUM *b)
diff --git a/crypto/hmac/hm_ameth.c b/crypto/hmac/hm_ameth.c
index 78ae0ea..4d830b8 100644
--- a/crypto/hmac/hm_ameth.c
+++ b/crypto/hmac/hm_ameth.c
@@ -12,8 +12,6 @@
 #include 
 #include "internal/asn1_int.h"
 
-#define HMAC_TEST_PRIVATE_KEY_FORMAT
-
 /*
  * HMAC "ASN1" method. This is just here to indicate the maximum HMAC output
  * length and to free up an HMAC key.
@@ -51,53 +49,6 @@ static int hmac_pkey_public_cmp(const EVP_PKEY *a, const 
EVP_PKEY *b)
 return ASN1_OCTET_STRING_cmp(EVP_PKEY_get0(a), EVP_PKEY_get0(b));
 }
 
-#ifdef HMAC_TEST_PRIVATE_KEY_FORMAT
-/*
- * A bogus private key format for test purposes. This

[openssl-commits] [openssl] master update

2017-02-28 Thread Rich Salz
The branch master has been updated
   via  629192c1b9f17965e0a6b73229b7b1e004bfbd98 (commit)
  from  d5aa14dde53d43ae08e4269f0e27222e824a40c2 (commit)


- Log -
commit 629192c1b9f17965e0a6b73229b7b1e004bfbd98
Author: Rich Salz 
Date:   Tue Feb 28 10:53:28 2017 -0500

Exdata test was never enabled.

Reviewed-by: Richard Levitte 
(Merged from https://github.com/openssl/openssl/pull/2787)

---

Summary of changes:
 test/build.info|  6 ++-
 test/exdatatest.c  | 59 --
 .../{60-test_x509_time.t => 03-test_exdata.t}  |  2 +-
 3 files changed, 37 insertions(+), 30 deletions(-)
 copy test/recipes/{60-test_x509_time.t => 03-test_exdata.t} (88%)

diff --git a/test/build.info b/test/build.info
index bec9819..12805c7 100644
--- a/test/build.info
+++ b/test/build.info
@@ -12,7 +12,7 @@
 IF[{- !$disabled{tests} -}]
   PROGRAMS_NO_INST=\
   aborttest \
-  sanitytest bntest \
+  sanitytest exdatatest bntest \
   ectest ecdsatest ecdhtest gmdifftest pbelutest ideatest \
   md2test \
   hmactest \
@@ -38,6 +38,10 @@ IF[{- !$disabled{tests} -}]
   INCLUDE[sanitytest]=../include
   DEPEND[sanitytest]=../libcrypto
 
+  SOURCE[exdatatest]=exdatatest.c
+  INCLUDE[exdatatest]=../include
+  DEPEND[exdatatest]=../libcrypto
+
   SOURCE[bntest]=bntest.c testutil.c test_main_custom.c
   INCLUDE[bntest]=.. ../crypto/include ../include
   DEPEND[bntest]=../libcrypto
diff --git a/test/exdatatest.c b/test/exdatatest.c
index 8e35068..e82fdbf 100644
--- a/test/exdatatest.c
+++ b/test/exdatatest.c
@@ -1,5 +1,5 @@
 /*
- * Copyright 2015-2016 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2015-2017 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under the OpenSSL license (the "License").  You may not use
  * this file except in compliance with the License.  You can obtain a copy
@@ -8,68 +8,66 @@
  */
 
 #include 
-#include 
 #include 
 #include 
+#include 
 #include 
 
-static long sargl;
-static void *sargp;
-static int sidx;
+static long saved_argl;
+static void *saved_argp;
+static int saved_idx;
 
 static void exnew(void *parent, void *ptr, CRYPTO_EX_DATA *ad,
   int idx, long argl, void *argp)
 {
-assert(idx == sidx);
-assert(argl == sargl);
-assert(argp == sargp);
+assert(idx == saved_idx);
+assert(argl == saved_argl);
+assert(argp == saved_argp);
 }
 
-static int exdup(CRYPTO_EX_DATA *to, CRYPTO_EX_DATA *from,
+static int exdup(CRYPTO_EX_DATA *to, const CRYPTO_EX_DATA *from,
   void *from_d, int idx, long argl, void *argp)
 {
-assert(idx == sidx);
-assert(argl == sargl);
-assert(argp == sargp);
+assert(idx == saved_idx);
+assert(argl == saved_argl);
+assert(argp == saved_argp);
 return 0;
 }
 
 static void exfree(void *parent, void *ptr, CRYPTO_EX_DATA *ad,
 int idx, long argl, void *argp)
 {
-assert(idx == sidx);
-assert(argl == sargl);
-assert(argp == sargp);
+assert(idx == saved_idx);
+assert(argl == saved_argl);
+assert(argp == saved_argp);
 }
 
 typedef struct myobj_st {
 CRYPTO_EX_DATA ex_data;
 int id;
+int st;
 } MYOBJ;
 
 static MYOBJ *MYOBJ_new()
 {
 static int count = 0;
 MYOBJ *obj = OPENSSL_malloc(sizeof(*obj));
-int st;
 
 obj->id = ++count;
-st = CRYPTO_new_ex_data(CRYPTO_EX_INDEX_APP, obj, &obj->ex_data);
-assert(st != 0);
+obj->st = CRYPTO_new_ex_data(CRYPTO_EX_INDEX_APP, obj, &obj->ex_data);
+assert(obj->st != 0);
 return obj;
 }
 
 static void MYOBJ_sethello(MYOBJ *obj, char *cp)
 {
-int st;
-
-st = CRYPTO_set_ex_data(&obj->ex_data, sidx, cp);
-assert(st != 0);
+obj->st = CRYPTO_set_ex_data(&obj->ex_data, saved_idx, cp);
+assert(obj->st != 0);
 }
 
 static char *MYOBJ_gethello(MYOBJ *obj)
 {
-return CRYPTO_get_ex_data(&obj->ex_data, sidx);
+return CRYPTO_get_ex_data(&obj->ex_data, saved_idx);
 }
 
 static void MYOBJ_free(MYOBJ *obj)
@@ -85,20 +83,25 @@ int main()
 char *p;
 
 p = strdup("hello world");
-sargl = 21;
-sargp = malloc(1);
-sidx = CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_APP, sargl, sargp,
-   exnew, exdup, exfree);
+saved_argl = 21;
+saved_argp = malloc(1);
+saved_idx = CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_APP,
+saved_argl, saved_argp,
+exnew, exdup, exfree);
 t1 = MYOBJ_new();
 t2 = MYOBJ_new();
 MYOBJ_sethello(t1, p);
 cp = MYOBJ_gethello(t1);
 assert(cp == p);
+if (cp != p)
+return 1;
 cp = MYOBJ_gethello(t2);
 assert(cp == NULL);
+if (cp != NULL)
+return 1;
 MYOBJ_free(t1);
 MYOBJ_free(t2);
-f

[openssl-commits] [openssl] OpenSSL_1_1_0-stable update

2017-02-28 Thread Rich Salz
The branch OpenSSL_1_1_0-stable has been updated
   via  3cca3e29f9c694585783074ba5fcc90dfd58c1f7 (commit)
  from  4ba808de916c9390d45d733563313d8d8f8dbe44 (commit)


- Log -
commit 3cca3e29f9c694585783074ba5fcc90dfd58c1f7
Author: Rich Salz 
Date:   Tue Feb 28 10:53:28 2017 -0500

Exdata test was never enabled.

Reviewed-by: Richard Levitte 
(Merged from https://github.com/openssl/openssl/pull/2787)
(cherry picked from commit 629192c1b9f17965e0a6b73229b7b1e004bfbd98)

---

Summary of changes:
 test/build.info|  6 ++-
 test/exdatatest.c  | 59 --
 .../{90-test_bioprint.t => 03-test_exdata.t}   |  4 +-
 3 files changed, 38 insertions(+), 31 deletions(-)
 copy test/recipes/{90-test_bioprint.t => 03-test_exdata.t} (73%)

diff --git a/test/build.info b/test/build.info
index 0c2c909..641505d 100644
--- a/test/build.info
+++ b/test/build.info
@@ -1,7 +1,7 @@
 IF[{- !$disabled{tests} -}]
   PROGRAMS_NO_INST=\
   aborttest \
-  sanitytest bntest \
+  sanitytest exdatatest bntest \
   ectest ecdsatest ecdhtest gmdifftest pbelutest ideatest \
   md2test md4test md5test \
   hmactest wp_test \
@@ -26,6 +26,10 @@ IF[{- !$disabled{tests} -}]
   INCLUDE[sanitytest]=../include
   DEPEND[sanitytest]=../libcrypto
 
+  SOURCE[exdatatest]=exdatatest.c
+  INCLUDE[exdatatest]=../include
+  DEPEND[exdatatest]=../libcrypto
+
   SOURCE[bntest]=bntest.c
   INCLUDE[bntest]=.. ../crypto/include ../include
   DEPEND[bntest]=../libcrypto
diff --git a/test/exdatatest.c b/test/exdatatest.c
index 8e35068..e82fdbf 100644
--- a/test/exdatatest.c
+++ b/test/exdatatest.c
@@ -1,5 +1,5 @@
 /*
- * Copyright 2015-2016 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2015-2017 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under the OpenSSL license (the "License").  You may not use
  * this file except in compliance with the License.  You can obtain a copy
@@ -8,68 +8,66 @@
  */
 
 #include 
-#include 
 #include 
 #include 
+#include 
 #include 
 
-static long sargl;
-static void *sargp;
-static int sidx;
+static long saved_argl;
+static void *saved_argp;
+static int saved_idx;
 
 static void exnew(void *parent, void *ptr, CRYPTO_EX_DATA *ad,
   int idx, long argl, void *argp)
 {
-assert(idx == sidx);
-assert(argl == sargl);
-assert(argp == sargp);
+assert(idx == saved_idx);
+assert(argl == saved_argl);
+assert(argp == saved_argp);
 }
 
-static int exdup(CRYPTO_EX_DATA *to, CRYPTO_EX_DATA *from,
+static int exdup(CRYPTO_EX_DATA *to, const CRYPTO_EX_DATA *from,
   void *from_d, int idx, long argl, void *argp)
 {
-assert(idx == sidx);
-assert(argl == sargl);
-assert(argp == sargp);
+assert(idx == saved_idx);
+assert(argl == saved_argl);
+assert(argp == saved_argp);
 return 0;
 }
 
 static void exfree(void *parent, void *ptr, CRYPTO_EX_DATA *ad,
 int idx, long argl, void *argp)
 {
-assert(idx == sidx);
-assert(argl == sargl);
-assert(argp == sargp);
+assert(idx == saved_idx);
+assert(argl == saved_argl);
+assert(argp == saved_argp);
 }
 
 typedef struct myobj_st {
 CRYPTO_EX_DATA ex_data;
 int id;
+int st;
 } MYOBJ;
 
 static MYOBJ *MYOBJ_new()
 {
 static int count = 0;
 MYOBJ *obj = OPENSSL_malloc(sizeof(*obj));
-int st;
 
 obj->id = ++count;
-st = CRYPTO_new_ex_data(CRYPTO_EX_INDEX_APP, obj, &obj->ex_data);
-assert(st != 0);
+obj->st = CRYPTO_new_ex_data(CRYPTO_EX_INDEX_APP, obj, &obj->ex_data);
+assert(obj->st != 0);
 return obj;
 }
 
 static void MYOBJ_sethello(MYOBJ *obj, char *cp)
 {
-int st;
-
-st = CRYPTO_set_ex_data(&obj->ex_data, sidx, cp);
-assert(st != 0);
+obj->st = CRYPTO_set_ex_data(&obj->ex_data, saved_idx, cp);
+assert(obj->st != 0);
 }
 
 static char *MYOBJ_gethello(MYOBJ *obj)
 {
-return CRYPTO_get_ex_data(&obj->ex_data, sidx);
+return CRYPTO_get_ex_data(&obj->ex_data, saved_idx);
 }
 
 static void MYOBJ_free(MYOBJ *obj)
@@ -85,20 +83,25 @@ int main()
 char *p;
 
 p = strdup("hello world");
-sargl = 21;
-sargp = malloc(1);
-sidx = CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_APP, sargl, sargp,
-   exnew, exdup, exfree);
+saved_argl = 21;
+saved_argp = malloc(1);
+saved_idx = CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_APP,
+saved_argl, saved_argp,
+exnew, exdup, exfree);
 t1 = MYOBJ_new();
 t2 = MYOBJ_new();
 MYOBJ_sethello(t1, p);
 cp = MYOBJ_gethello(t1);
 assert(cp == p);
+if (cp != p)
+return 1;
 cp = MYOBJ_gethello(t2);
 assert(cp == NULL);
+if (c

[openssl-commits] [openssl] master update

2017-02-28 Thread Richard Levitte
The branch master has been updated
   via  77baccd7fac7cf480e3a3981b7deae5ef3b812b9 (commit)
   via  96bc5d03b813a318403d45600e07d6bdcb41d195 (commit)
   via  38a322a5f29ae0b4a9bd42233310835487d875ac (commit)
  from  629192c1b9f17965e0a6b73229b7b1e004bfbd98 (commit)


- Log -
commit 77baccd7fac7cf480e3a3981b7deae5ef3b812b9
Author: Richard Levitte 
Date:   Tue Feb 28 20:00:56 2017 +0100

Code health: make update

Reviewed-by: Rich Salz 
(Merged from https://github.com/openssl/openssl/pull/2793)

commit 96bc5d03b813a318403d45600e07d6bdcb41d195
Author: Richard Levitte 
Date:   Tue Feb 28 20:00:42 2017 +0100

Code health: Remove VAX exceptions in util/mkdef.pl

Reviewed-by: Rich Salz 
(Merged from https://github.com/openssl/openssl/pull/2793)

commit 38a322a5f29ae0b4a9bd42233310835487d875ac
Author: Richard Levitte 
Date:   Tue Feb 28 19:57:33 2017 +0100

Code health: Remove unused VAX transfer vector for engines

Reviewed-by: Rich Salz 
(Merged from https://github.com/openssl/openssl/pull/2793)

---

Summary of changes:
 engines/engine_vector.mar | 24 
 util/libcrypto.num| 22 +++---
 util/mkdef.pl | 32 +++-
 3 files changed, 14 insertions(+), 64 deletions(-)
 delete mode 100644 engines/engine_vector.mar

diff --git a/engines/engine_vector.mar b/engines/engine_vector.mar
deleted file mode 100644
index 7d968e7..000
--- a/engines/engine_vector.mar
+++ /dev/null
@@ -1,24 +0,0 @@
-;
-; Transfer vector for VAX shareable image
-;
-   .TITLE ENGINE
-   .IDENT /ENGINE/
-;
-; Define macro to assist in building transfer vector entries.  Each entry
-; should take no more than 8 bytes.
-;
-   .MACRO FTRANSFER_ENTRY routine
-   .ALIGN QUAD
-   .TRANSFER routine
-   .MASK   routine
-   JMP routine+2
-   .ENDM FTRANSFER_ENTRY
-;
-; Place entries in own program section.
-;
-   .PSECT $$ENGINE,QUAD,PIC,USR,CON,REL,LCL,SHR,EXE,RD,NOWRT
-ENGINE_xfer:
-   FTRANSFER_ENTRY bind_engine
-   FTRANSFER_ENTRY v_check
-   .BLKB 32768-<.-ENGINE_xfer> ; 64 pages total.
-   .END
diff --git a/util/libcrypto.num b/util/libcrypto.num
index 363ab66..359b9b0 100644
--- a/util/libcrypto.num
+++ b/util/libcrypto.num
@@ -153,7 +153,7 @@ ENGINE_get_ctrl_function153 1_1_0   
EXIST::FUNCTION:ENGINE
 X509_REVOKED_get_ext_count  1541_1_0   EXIST::FUNCTION:
 BN_is_prime_fasttest_ex 1551_1_0   EXIST::FUNCTION:
 ERR_load_PKCS12_strings 1561_1_0   EXIST::FUNCTION:
-EVP_sha384  1571_1_0   EXIST:!VMSVAX:FUNCTION:
+EVP_sha384  1571_1_0   EXIST::FUNCTION:
 i2d_DHparams1581_1_0   EXIST::FUNCTION:DH
 TS_VERIFY_CTX_set_store 1591_1_0   EXIST::FUNCTION:TS
 PKCS12_verify_mac   1601_1_0   EXIST::FUNCTION:
@@ -1420,7 +1420,7 @@ EVP_MD_meth_get_cleanup 1408  1_1_0   
EXIST::FUNCTION:
 SRP_Calc_server_key 1409   1_1_0   EXIST::FUNCTION:SRP
 BN_mod_exp_simple   1410   1_1_0   EXIST::FUNCTION:
 BIO_set_ex_data 1411   1_1_0   EXIST::FUNCTION:
-SHA512  1412   1_1_0   EXIST:!VMSVAX:FUNCTION:
+SHA512  1412   1_1_0   EXIST::FUNCTION:
 X509_STORE_CTX_get_explicit_policy  1413   1_1_0   EXIST::FUNCTION:
 EVP_DecodeBlock 1414   1_1_0   EXIST::FUNCTION:
 OCSP_REQ_CTX_http   1415   1_1_0   EXIST::FUNCTION:OCSP
@@ -1487,7 +1487,7 @@ X509V3_section_free 1474  1_1_0   
EXIST::FUNCTION:
 CRYPTO_mem_debug_free   1475   1_1_0   
EXIST::FUNCTION:CRYPTO_MDEBUG
 d2i_OCSP_REQUEST1476   1_1_0   EXIST::FUNCTION:OCSP
 ENGINE_get_cipher_engine1477   1_1_0   EXIST::FUNCTION:ENGINE
-SHA384_Final1478   1_1_0   EXIST:!VMSVAX:FUNCTION:
+SHA384_Final1478   1_1_0   EXIST::FUNCTION:
 TS_RESP_CTX_set_certs   1479   1_1_0   EXIST::FUNCTION:TS
 BN_MONT_CTX_free1480   1_1_0   EXIST::FUNCTION:
 BN_GF2m_mod_solve_quad_arr  1481   1_1_0   EXIST::FUNCTION:EC2M
@@ -2829,7 +2829,7 @@ CMS_RecipientInfo_encrypt   2786  1_1_0   
EXIST::FUNCTION:CMS
 X509_get_pubkey_parameters  2787   1_1_0   EXIST::FUNCTION:
 PKCS12_setup_mac2788   1_1_0   EXIST::FUNCTION:
 PEM_read_bio_PKCS7  2789   1_1_0   EXIST::FUNCTION:
-SHA512_Final2790   1_1_0   EXIST:!VMSVAX:FUNCTION:
+SHA512_Final 

[openssl-commits] [openssl] OpenSSL_1_1_0-stable update

2017-02-28 Thread Richard Levitte
The branch OpenSSL_1_1_0-stable has been updated
   via  3588a2bd1f5b11e259417829518917609a7d0031 (commit)
   via  238b2bc904f45826b9082dd2f0061a12a2f61cd0 (commit)
   via  f6642518dedfef916066bf26c588dc5fa70ebf2e (commit)
  from  3cca3e29f9c694585783074ba5fcc90dfd58c1f7 (commit)


- Log -
commit 3588a2bd1f5b11e259417829518917609a7d0031
Author: Richard Levitte 
Date:   Tue Feb 28 20:00:56 2017 +0100

Code health: make update

Reviewed-by: Rich Salz 
(Merged from https://github.com/openssl/openssl/pull/2793)
(cherry picked from commit 77baccd7fac7cf480e3a3981b7deae5ef3b812b9)

commit 238b2bc904f45826b9082dd2f0061a12a2f61cd0
Author: Richard Levitte 
Date:   Tue Feb 28 20:00:42 2017 +0100

Code health: Remove VAX exceptions in util/mkdef.pl

Reviewed-by: Rich Salz 
(Merged from https://github.com/openssl/openssl/pull/2793)
(cherry picked from commit 96bc5d03b813a318403d45600e07d6bdcb41d195)

commit f6642518dedfef916066bf26c588dc5fa70ebf2e
Author: Richard Levitte 
Date:   Tue Feb 28 19:57:33 2017 +0100

Code health: Remove unused VAX transfer vector for engines

Reviewed-by: Rich Salz 
(Merged from https://github.com/openssl/openssl/pull/2793)
(cherry picked from commit 38a322a5f29ae0b4a9bd42233310835487d875ac)

---

Summary of changes:
 engines/engine_vector.mar | 24 
 util/libcrypto.num| 22 +++---
 util/mkdef.pl | 32 +++-
 3 files changed, 14 insertions(+), 64 deletions(-)
 delete mode 100644 engines/engine_vector.mar

diff --git a/engines/engine_vector.mar b/engines/engine_vector.mar
deleted file mode 100644
index 7d968e7..000
--- a/engines/engine_vector.mar
+++ /dev/null
@@ -1,24 +0,0 @@
-;
-; Transfer vector for VAX shareable image
-;
-   .TITLE ENGINE
-   .IDENT /ENGINE/
-;
-; Define macro to assist in building transfer vector entries.  Each entry
-; should take no more than 8 bytes.
-;
-   .MACRO FTRANSFER_ENTRY routine
-   .ALIGN QUAD
-   .TRANSFER routine
-   .MASK   routine
-   JMP routine+2
-   .ENDM FTRANSFER_ENTRY
-;
-; Place entries in own program section.
-;
-   .PSECT $$ENGINE,QUAD,PIC,USR,CON,REL,LCL,SHR,EXE,RD,NOWRT
-ENGINE_xfer:
-   FTRANSFER_ENTRY bind_engine
-   FTRANSFER_ENTRY v_check
-   .BLKB 32768-<.-ENGINE_xfer> ; 64 pages total.
-   .END
diff --git a/util/libcrypto.num b/util/libcrypto.num
index c1a0945..b84d961 100644
--- a/util/libcrypto.num
+++ b/util/libcrypto.num
@@ -153,7 +153,7 @@ ENGINE_get_ctrl_function153 1_1_0   
EXIST::FUNCTION:ENGINE
 X509_REVOKED_get_ext_count  1541_1_0   EXIST::FUNCTION:
 BN_is_prime_fasttest_ex 1551_1_0   EXIST::FUNCTION:
 ERR_load_PKCS12_strings 1561_1_0   EXIST::FUNCTION:
-EVP_sha384  1571_1_0   EXIST:!VMSVAX:FUNCTION:
+EVP_sha384  1571_1_0   EXIST::FUNCTION:
 i2d_DHparams1581_1_0   EXIST::FUNCTION:DH
 TS_VERIFY_CTX_set_store 1591_1_0   EXIST::FUNCTION:TS
 PKCS12_verify_mac   1601_1_0   EXIST::FUNCTION:
@@ -1420,7 +1420,7 @@ EVP_MD_meth_get_cleanup 1408  1_1_0   
EXIST::FUNCTION:
 SRP_Calc_server_key 1409   1_1_0   EXIST::FUNCTION:SRP
 BN_mod_exp_simple   1410   1_1_0   EXIST::FUNCTION:
 BIO_set_ex_data 1411   1_1_0   EXIST::FUNCTION:
-SHA512  1412   1_1_0   EXIST:!VMSVAX:FUNCTION:
+SHA512  1412   1_1_0   EXIST::FUNCTION:
 X509_STORE_CTX_get_explicit_policy  1413   1_1_0   EXIST::FUNCTION:
 EVP_DecodeBlock 1414   1_1_0   EXIST::FUNCTION:
 OCSP_REQ_CTX_http   1415   1_1_0   EXIST::FUNCTION:OCSP
@@ -1487,7 +1487,7 @@ X509V3_section_free 1474  1_1_0   
EXIST::FUNCTION:
 CRYPTO_mem_debug_free   1475   1_1_0   
EXIST::FUNCTION:CRYPTO_MDEBUG
 d2i_OCSP_REQUEST1476   1_1_0   EXIST::FUNCTION:OCSP
 ENGINE_get_cipher_engine1477   1_1_0   EXIST::FUNCTION:ENGINE
-SHA384_Final1478   1_1_0   EXIST:!VMSVAX:FUNCTION:
+SHA384_Final1478   1_1_0   EXIST::FUNCTION:
 TS_RESP_CTX_set_certs   1479   1_1_0   EXIST::FUNCTION:TS
 BN_MONT_CTX_free1480   1_1_0   EXIST::FUNCTION:
 BN_GF2m_mod_solve_quad_arr  1481   1_1_0   EXIST::FUNCTION:EC2M
@@ -2829,7 +2829,7 @@ CMS_RecipientInfo_encrypt   2786  1_1_0   
EXIST::FUNCTION:CMS
 X509_get_pubkey_parameters  2787   1_1_0   EXIST::FUNCTION:
 PKCS12_setup_mac  

[openssl-commits] [openssl] master update

2017-02-28 Thread Richard Levitte
The branch master has been updated
   via  5ea564f154ebe8bda2a0e091a312e2058edf437f (commit)
   via  9c5e87bf34f872c891a4967316246bf942a8c2d2 (commit)
   via  6cef8015e8fb47dfda37b46b8fd1167ea3ee1414 (commit)
  from  77baccd7fac7cf480e3a3981b7deae5ef3b812b9 (commit)


- Log -
commit 5ea564f154ebe8bda2a0e091a312e2058edf437f
Author: Richard Levitte 
Date:   Tue Feb 28 17:36:02 2017 +0100

Code health: Quick note in changes and the OPENSSL_GLOBAL et al changes

Reviewed-by: Andy Polyakov 
Reviewed-by: Rich Salz 
(Merged from https://github.com/openssl/openssl/pull/2785)

commit 9c5e87bf34f872c891a4967316246bf942a8c2d2
Author: Richard Levitte 
Date:   Tue Feb 28 17:27:20 2017 +0100

Code health: With the VAX C-ism gone, OPENSSL_GLOBAL can be removed too

Reviewed-by: Andy Polyakov 
Reviewed-by: Rich Salz 
(Merged from https://github.com/openssl/openssl/pull/2785)

commit 6cef8015e8fb47dfda37b46b8fd1167ea3ee1414
Author: Richard Levitte 
Date:   Tue Feb 28 16:43:09 2017 +0100

Code health: Remove another VAX C-ism, globaldef and globalref

Reviewed-by: Andy Polyakov 
Reviewed-by: Rich Salz 
(Merged from https://github.com/openssl/openssl/pull/2785)

---

Summary of changes:
 CHANGES |  4 
 crypto/cast/cast_s.h| 16 
 crypto/des/spr.h|  2 +-
 include/openssl/asn1t.h |  2 +-
 include/openssl/e_os2.h | 28 +++-
 5 files changed, 25 insertions(+), 27 deletions(-)

diff --git a/CHANGES b/CHANGES
index 9f16dd4..a06b1da 100644
--- a/CHANGES
+++ b/CHANGES
@@ -4,6 +4,10 @@
 
  Changes between 1.1.0e and 1.1.1 [xx XXX ]
 
+  *) Remove VAX C specific definitions of OPENSSL_EXPORT, OPENSSL_EXTERN.
+ Also remove OPENSSL_GLOBAL entirely, as it became a no-op.
+ [Richard Levitte]
+
   *) Remove the VMS-specific reimplementation of gmtime from crypto/o_times.c.
  VMS C's RTL has a fully up to date gmtime() and gmtime_r() since V7.1,
  which is the minimum version we support.
diff --git a/crypto/cast/cast_s.h b/crypto/cast/cast_s.h
index d9fd6ac..b27415b 100644
--- a/crypto/cast/cast_s.h
+++ b/crypto/cast/cast_s.h
@@ -7,7 +7,7 @@
  * https://www.openssl.org/source/license.html
  */
 
-OPENSSL_GLOBAL const CAST_LONG CAST_S_table0[256] = {
+const CAST_LONG CAST_S_table0[256] = {
 0x30fb40d4, 0x9fa0ff0b, 0x6beccd2f, 0x3f258c7a,
 0x1e213f2f, 0x9c004dd3, 0x6003e540, 0xcf9fc949,
 0xbfd4af27, 0x88bbbdb5, 0xe2034090, 0x98d09675,
@@ -74,7 +74,7 @@ OPENSSL_GLOBAL const CAST_LONG CAST_S_table0[256] = {
 0x427b169c, 0x5ac9f049, 0xdd8f0f00, 0x5c8165bf,
 };
 
-OPENSSL_GLOBAL const CAST_LONG CAST_S_table1[256] = {
+const CAST_LONG CAST_S_table1[256] = {
 0x1f201094, 0xef0ba75b, 0x69e3cf7e, 0x393f4380,
 0xfe61cf7a, 0xeec5207a, 0x55889c94, 0x72fc0651,
 0xada7ef79, 0x4e1d7235, 0xd55a63ce, 0xde0436ba,
@@ -141,7 +141,7 @@ OPENSSL_GLOBAL const CAST_LONG CAST_S_table1[256] = {
 0x7160a539, 0x73bfbe70, 0x83877605, 0x4523ecf1,
 };
 
-OPENSSL_GLOBAL const CAST_LONG CAST_S_table2[256] = {
+const CAST_LONG CAST_S_table2[256] = {
 0x8defc240, 0x25fa5d9f, 0xeb903dbf, 0xe810c907,
 0x47607fff, 0x369fe44b, 0x8c1fc644, 0xaececa90,
 0xbeb1f9bf, 0xeefbcaea, 0xe8cf1950, 0x51df07ae,
@@ -208,7 +208,7 @@ OPENSSL_GLOBAL const CAST_LONG CAST_S_table2[256] = {
 0xdfef4636, 0xa133c501, 0xe9d3531c, 0xee353783,
 };
 
-OPENSSL_GLOBAL const CAST_LONG CAST_S_table3[256] = {
+const CAST_LONG CAST_S_table3[256] = {
 0x9db30420, 0x1fb6e9de, 0xa7be7bef, 0xd273a298,
 0x4a4f7bdb, 0x64ad8c57, 0x85510443, 0xfa020ed1,
 0x7e287aff, 0xe60fb663, 0x095f35a1, 0x79ebf120,
@@ -275,7 +275,7 @@ OPENSSL_GLOBAL const CAST_LONG CAST_S_table3[256] = {
 0x13ecf0b0, 0xd3ffb372, 0x3f85c5c1, 0x0aef7ed2,
 };
 
-OPENSSL_GLOBAL const CAST_LONG CAST_S_table4[256] = {
+const CAST_LONG CAST_S_table4[256] = {
 0x7ec90c04, 0x2c6e74b9, 0x9b0e66df, 0xa6337911,
 0xb86a7fff, 0x1dd358f5, 0x44dd9d44, 0x1731167f,
 0x08fbf1fa, 0xe7f511cc, 0xd2051b00, 0x735aba00,
@@ -342,7 +342,7 @@ OPENSSL_GLOBAL const CAST_LONG CAST_S_table4[256] = {
 0x5e76ffa8, 0xb1534546, 0x6d47de08, 0xefe9e7d4,
 };
 
-OPENSSL_GLOBAL const CAST_LONG CAST_S_table5[256] = {
+const CAST_LONG CAST_S_table5[256] = {
 0xf6fa8f9d, 0x2cac6ce1, 0x4ca34867, 0xe2337f7c,
 0x95db08e7, 0x016843b4, 0xeced5cbc, 0x325553ac,
 0xbf9f0960, 0xdfa1e2ed, 0x83f0579d, 0x63ed86b9,
@@ -409,7 +409,7 @@ OPENSSL_GLOBAL const CAST_LONG CAST_S_table5[256] = {
 0x48392905, 0xa65b1db8, 0x851c97bd, 0xd675cf2f,
 };
 
-OPENSSL_GLOBAL const CAST_LONG CAST_S_table6[256] = {
+const CAST_LONG CAST_S_table6[256] = {
 0x85e04019, 0x332bf567, 0x662dbfff, 0xcfc65693,
 0x2a8d7f6f, 0xab9bc912, 0xde6008a1, 0x2028da1f,
 0x0227bce7, 0x4d642916, 0x18fac300, 0x50f18b82,
@@ -476,7 +476,7 @@ OPENSSL_G

[openssl-commits] Errored: openssl/openssl#9067 (master - 629192c)

2017-02-28 Thread Travis CI
Build Update for openssl/openssl
-

Build: #9067
Status: Errored

Duration: 20 minutes and 41 seconds
Commit: 629192c (master)
Author: Rich Salz
Message: Exdata test was never enabled.

Reviewed-by: Richard Levitte 
(Merged from https://github.com/openssl/openssl/pull/2787)

View the changeset: 
https://github.com/openssl/openssl/compare/d5aa14dde53d...629192c1b9f1

View the full build log and details: 
https://travis-ci.org/openssl/openssl/builds/206285219

--

You can configure recipients for build notifications in your .travis.yml file. 
See https://docs.travis-ci.com/user/notifications

_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] [openssl] master update

2017-02-28 Thread Richard Levitte
The branch master has been updated
   via  a00b9560f7ece1e51bd7a8dc6a7ffb7a3d20cf86 (commit)
   via  e8cee55718bb9cb957f449fbe7145a77f252bb73 (commit)
  from  5ea564f154ebe8bda2a0e091a312e2058edf437f (commit)


- Log -
commit a00b9560f7ece1e51bd7a8dc6a7ffb7a3d20cf86
Author: Benjamin Kaduk 
Date:   Thu Feb 23 16:22:10 2017 -0600

Add AGL's "beer mug" PEM file as another test input

AGL has a history of pointing out the idiosynchronies/laxness of the
openssl PEM parser in amusing ways.  If we want this functionality to
stay present, we should test that it works.

Reviewed-by: Rich Salz 
Reviewed-by: Richard Levitte 
(Merged from https://github.com/openssl/openssl/pull/2756)

commit e8cee55718bb9cb957f449fbe7145a77f252bb73
Author: Benjamin Kaduk 
Date:   Thu Feb 23 14:28:32 2017 -0600

Add test corpus for PEM reading

Generate a fresh certificate and DSA private key in their respective PEM
files.  Modify the resulting ASCII in various ways so as to produce input
files that might be generated by non-openssl programs (openssl always
generates "standard" PEM files, with base64 data in 64-character lines
except for a possible shorter last line).

Exercise various combinations of line lengths, leading/trailing
whitespace, non-base64 characters, comments, and padding, for both
unencrypted and encrypted files.  (We do not have any other test coverage
that uses encrypted files, as far as I can see, and the parser enforces
different rules for the body of encrypted files.)

Add a recipe to parse these test files and verify that they contain the
expected string or are rejected, according to the expected status.
Some of the current behavior is perhaps suboptimal and could be revisited.

Reviewed-by: Rich Salz 
Reviewed-by: Richard Levitte 
(Merged from https://github.com/openssl/openssl/pull/2756)

---

Summary of changes:
 test/recipes/04-test_pem.t |  102 ++
 test/recipes/04-test_pem_data/NOTES|3 +
 test/recipes/04-test_pem_data/beermug.pem  |   30 +
 test/recipes/04-test_pem_data/cert-1023line.pem|   13 +
 test/recipes/04-test_pem_data/cert-1024line.pem|   13 +
 test/recipes/04-test_pem_data/cert-1025line.pem|   13 +
 test/recipes/04-test_pem_data/cert-255line.pem |   25 +
 test/recipes/04-test_pem_data/cert-256line.pem |   25 +
 test/recipes/04-test_pem_data/cert-257line.pem |   25 +
 test/recipes/04-test_pem_data/cert-blankline.pem   |   29 +
 test/recipes/04-test_pem_data/cert-comment.pem |   29 +
 test/recipes/04-test_pem_data/cert-earlypad.pem|   28 +
 test/recipes/04-test_pem_data/cert-extrapad.pem|   28 +
 .../04-test_pem_data/cert-infixwhitespace.pem  |   28 +
 test/recipes/04-test_pem_data/cert-junk.pem|   29 +
 .../04-test_pem_data/cert-leadingwhitespace.pem|   28 +
 test/recipes/04-test_pem_data/cert-longline.pem|   28 +
 .../04-test_pem_data/cert-misalignedpad.pem|   28 +
 test/recipes/04-test_pem_data/cert-onecolumn.pem   | 1646 
 test/recipes/04-test_pem_data/cert-oneline.pem |3 +
 .../04-test_pem_data/cert-shortandlongline.pem |   28 +
 test/recipes/04-test_pem_data/cert-shortline.pem   |   28 +
 test/recipes/04-test_pem_data/cert-threecolumn.pem |  550 +++
 .../04-test_pem_data/cert-trailingwhitespace.pem   |   28 +
 test/recipes/04-test_pem_data/cert.pem |   28 +
 test/recipes/04-test_pem_data/csr.pem  |   21 +
 test/recipes/04-test_pem_data/dsa-1023line.pem |9 +
 test/recipes/04-test_pem_data/dsa-1024line.pem |8 +
 test/recipes/04-test_pem_data/dsa-1025line.pem |8 +
 test/recipes/04-test_pem_data/dsa-255line.pem  |   21 +
 test/recipes/04-test_pem_data/dsa-256line.pem  |   20 +
 test/recipes/04-test_pem_data/dsa-257line.pem  |   20 +
 test/recipes/04-test_pem_data/dsa-blankline.pem|   24 +
 test/recipes/04-test_pem_data/dsa-comment.pem  |   24 +
 .../04-test_pem_data/dsa-corruptedheader.pem   |   23 +
 test/recipes/04-test_pem_data/dsa-corruptiv.pem|   23 +
 test/recipes/04-test_pem_data/dsa-earlypad.pem |   23 +
 test/recipes/04-test_pem_data/dsa-extrapad.pem |   24 +
 .../04-test_pem_data/dsa-infixwhitespace.pem   |   23 +
 test/recipes/04-test_pem_data/dsa-junk.pem |   24 +
 .../04-test_pem_data/dsa-leadingwhitespace.pem |   23 +
 test/recipes/04-test_pem_data/dsa-longline.pem |   23 +
 .../recipes/04-test_pem_data/dsa-misalignedpad.pem |   24 +
 test/recipes/04-test_pem_data/dsa-onecolumn.pem| 1157 ++
 test/recipes/04-test_pem_data/dsa-oneline.pem  |6 +
 .../recipes/04-test_pem_data/dsa-onelineheader.pem |   22 +
 .../04-test_pem_data/dsa-shortandlongline.pem

[openssl-commits] [openssl] OpenSSL_1_1_0-stable update

2017-02-28 Thread Richard Levitte
The branch OpenSSL_1_1_0-stable has been updated
   via  027211787a0388bae578f153e7b15b4eb30f352e (commit)
   via  b837f04fab70c0822b99a3e94261560500436f18 (commit)
  from  3588a2bd1f5b11e259417829518917609a7d0031 (commit)


- Log -
commit 027211787a0388bae578f153e7b15b4eb30f352e
Author: Benjamin Kaduk 
Date:   Thu Feb 23 16:22:10 2017 -0600

Add AGL's "beer mug" PEM file as another test input

AGL has a history of pointing out the idiosynchronies/laxness of the
openssl PEM parser in amusing ways.  If we want this functionality to
stay present, we should test that it works.

Reviewed-by: Rich Salz 
Reviewed-by: Richard Levitte 
(Merged from https://github.com/openssl/openssl/pull/2756)
(cherry picked from commit a00b9560f7ece1e51bd7a8dc6a7ffb7a3d20cf86)

commit b837f04fab70c0822b99a3e94261560500436f18
Author: Benjamin Kaduk 
Date:   Thu Feb 23 14:28:32 2017 -0600

Add test corpus for PEM reading

Generate a fresh certificate and DSA private key in their respective PEM
files.  Modify the resulting ASCII in various ways so as to produce input
files that might be generated by non-openssl programs (openssl always
generates "standard" PEM files, with base64 data in 64-character lines
except for a possible shorter last line).

Exercise various combinations of line lengths, leading/trailing
whitespace, non-base64 characters, comments, and padding, for both
unencrypted and encrypted files.  (We do not have any other test coverage
that uses encrypted files, as far as I can see, and the parser enforces
different rules for the body of encrypted files.)

Add a recipe to parse these test files and verify that they contain the
expected string or are rejected, according to the expected status.
Some of the current behavior is perhaps suboptimal and could be revisited.

Reviewed-by: Rich Salz 
Reviewed-by: Richard Levitte 
(Merged from https://github.com/openssl/openssl/pull/2756)
(cherry picked from commit e8cee55718bb9cb957f449fbe7145a77f252bb73)

---

Summary of changes:
 test/recipes/04-test_pem.t |  102 ++
 test/recipes/04-test_pem_data/NOTES|3 +
 test/recipes/04-test_pem_data/beermug.pem  |   30 +
 test/recipes/04-test_pem_data/cert-1023line.pem|   13 +
 test/recipes/04-test_pem_data/cert-1024line.pem|   13 +
 test/recipes/04-test_pem_data/cert-1025line.pem|   13 +
 test/recipes/04-test_pem_data/cert-255line.pem |   25 +
 test/recipes/04-test_pem_data/cert-256line.pem |   25 +
 test/recipes/04-test_pem_data/cert-257line.pem |   25 +
 test/recipes/04-test_pem_data/cert-blankline.pem   |   29 +
 test/recipes/04-test_pem_data/cert-comment.pem |   29 +
 test/recipes/04-test_pem_data/cert-earlypad.pem|   28 +
 test/recipes/04-test_pem_data/cert-extrapad.pem|   28 +
 .../04-test_pem_data/cert-infixwhitespace.pem  |   28 +
 test/recipes/04-test_pem_data/cert-junk.pem|   29 +
 .../04-test_pem_data/cert-leadingwhitespace.pem|   28 +
 test/recipes/04-test_pem_data/cert-longline.pem|   28 +
 .../04-test_pem_data/cert-misalignedpad.pem|   28 +
 test/recipes/04-test_pem_data/cert-onecolumn.pem   | 1646 
 test/recipes/04-test_pem_data/cert-oneline.pem |3 +
 .../04-test_pem_data/cert-shortandlongline.pem |   28 +
 test/recipes/04-test_pem_data/cert-shortline.pem   |   28 +
 test/recipes/04-test_pem_data/cert-threecolumn.pem |  550 +++
 .../04-test_pem_data/cert-trailingwhitespace.pem   |   28 +
 test/recipes/04-test_pem_data/cert.pem |   28 +
 test/recipes/04-test_pem_data/csr.pem  |   21 +
 test/recipes/04-test_pem_data/dsa-1023line.pem |9 +
 test/recipes/04-test_pem_data/dsa-1024line.pem |8 +
 test/recipes/04-test_pem_data/dsa-1025line.pem |8 +
 test/recipes/04-test_pem_data/dsa-255line.pem  |   21 +
 test/recipes/04-test_pem_data/dsa-256line.pem  |   20 +
 test/recipes/04-test_pem_data/dsa-257line.pem  |   20 +
 test/recipes/04-test_pem_data/dsa-blankline.pem|   24 +
 test/recipes/04-test_pem_data/dsa-comment.pem  |   24 +
 .../04-test_pem_data/dsa-corruptedheader.pem   |   23 +
 test/recipes/04-test_pem_data/dsa-corruptiv.pem|   23 +
 test/recipes/04-test_pem_data/dsa-earlypad.pem |   23 +
 test/recipes/04-test_pem_data/dsa-extrapad.pem |   24 +
 .../04-test_pem_data/dsa-infixwhitespace.pem   |   23 +
 test/recipes/04-test_pem_data/dsa-junk.pem |   24 +
 .../04-test_pem_data/dsa-leadingwhitespace.pem |   23 +
 test/recipes/04-test_pem_data/dsa-longline.pem |   23 +
 .../recipes/04-test_pem_data/dsa-misalignedpad.pem |   24 +
 test/recipes/04-test_pem_data/dsa-onecolumn.pem| 1157 ++
 test/recipe

[openssl-commits] [openssl] master update

2017-02-28 Thread Rich Salz
The branch master has been updated
   via  1bcbf658a6ae99281b2b1c602b1076ea6af8d639 (commit)
  from  a00b9560f7ece1e51bd7a8dc6a7ffb7a3d20cf86 (commit)


- Log -
commit 1bcbf658a6ae99281b2b1c602b1076ea6af8d639
Author: Bernd Edlinger 
Date:   Tue Feb 28 09:48:32 2017 +0100

Fix handling of EVP_PKEY_CTRL_PKCS7_ENCRYPT/DECRYPT with OPENSSL_NO_CMS.

Reviewed-by: Stephen Henson 
Reviewed-by: Rich Salz 
(Merged from https://github.com/openssl/openssl/pull/2764)

---

Summary of changes:
 crypto/rsa/rsa_pmeth.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/crypto/rsa/rsa_pmeth.c b/crypto/rsa/rsa_pmeth.c
index d4b278b..0292b26 100644
--- a/crypto/rsa/rsa_pmeth.c
+++ b/crypto/rsa/rsa_pmeth.c
@@ -553,9 +553,10 @@ static int pkey_rsa_ctrl(EVP_PKEY_CTX *ctx, int type, int 
p1, void *p2)
 #ifndef OPENSSL_NO_CMS
 case EVP_PKEY_CTRL_CMS_DECRYPT:
 case EVP_PKEY_CTRL_CMS_ENCRYPT:
+#endif
 if (!pkey_ctx_is_pss(ctx))
 return 1;
-#endif
+/* fall through */
 case EVP_PKEY_CTRL_PEER_KEY:
 RSAerr(RSA_F_PKEY_RSA_CTRL,
RSA_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE);
_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] [openssl] master update

2017-02-28 Thread Richard Levitte
The branch master has been updated
   via  43f9e0a08cd434fc1320b0bf66798fe187ffdc6f (commit)
  from  1bcbf658a6ae99281b2b1c602b1076ea6af8d639 (commit)


- Log -
commit 43f9e0a08cd434fc1320b0bf66798fe187ffdc6f
Author: Richard Levitte 
Date:   Tue Feb 28 18:24:02 2017 +0100

Code health: Remove base address setting for mingw

Base address setting was done for the sake of FIPS.  Since FIPS references
have been removed, we clean away this one as well.

Reviewed-by: Rich Salz 
(Merged from https://github.com/openssl/openssl/pull/2791)

---

Summary of changes:
 Makefile.shared | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Makefile.shared b/Makefile.shared
index 098e1ec..c86a370 100644
--- a/Makefile.shared
+++ b/Makefile.shared
@@ -302,7 +302,6 @@ link_shlib.mingw:
SHLIB_SOVER=-$$sover$$arch; \
SHLIB_SUFFIX=.dll; \
dll_name=$$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX; \
-   base=; [ $(LIBNAME) = "crypto" -a -n "$(FIPSCANLIB)" ] && 
base=-Wl,--image-base,0x6300; \
$(PERL) $(SRCDIR)/util/mkdef.pl 32 $(LIBNAME) \
| sed -e 's|^\(LIBRARY  *\)$(LIBNAME)32|\1'"$$dll_name"'|' \
> $(LIBNAME).def; \
@@ -312,7 +311,7 @@ link_shlib.mingw:
$(RC) $(SHARED_RCFLAGS) -o rc.o; \
ALLSYMSFLAGS='-Wl,--whole-archive'; \
NOALLSYMSFLAGS='-Wl,--no-whole-archive'; \
-   SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -shared $$base -Wl,-Bsymbolic 
-Wl,--out-implib,lib$(LIBNAME).dll.a $(LIBNAME).def rc.o"; \
+   SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -shared -Wl,-Bsymbolic 
-Wl,--out-implib,lib$(LIBNAME).dll.a $(LIBNAME).def rc.o"; \
$(LINK_SO_SHLIB) || exit 1; \
rm $(LIBNAME).def rc.o
 
_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] Errored: openssl/openssl#9065 (master - d5aa14d)

2017-02-28 Thread Travis CI
Build Update for openssl/openssl
-

Build: #9065
Status: Errored

Duration: 19 minutes and 25 seconds
Commit: d5aa14d (master)
Author: Emilia Kasper
Message: Remove memcpy unrolling in bn_lib.c

Reviewed-by: Rich Salz 
Reviewed-by: Andy Polyakov 

View the changeset: 
https://github.com/openssl/openssl/compare/a2b22cd6a857...d5aa14dde53d

View the full build log and details: 
https://travis-ci.org/openssl/openssl/builds/206284855

--

You can configure recipients for build notifications in your .travis.yml file. 
See https://docs.travis-ci.com/user/notifications

_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] [openssl] master update

2017-02-28 Thread Andy Polyakov
The branch master has been updated
   via  695ecf8b44342d8870b1fc55f423710a7e5e89eb (commit)
  from  43f9e0a08cd434fc1320b0bf66798fe187ffdc6f (commit)


- Log -
commit 695ecf8b44342d8870b1fc55f423710a7e5e89eb
Author: Andy Polyakov 
Date:   Tue Feb 28 14:15:30 2017 +0100

crypto/des: remove unreferenced rcp_enc.c module.

Reviewed-by: Richard Levitte 
Reviewed-by: Stephen Henson 

---

Summary of changes:
 crypto/des/build.info |  2 +-
 crypto/des/rpc_des.h  | 76 ---
 crypto/des/rpc_enc.c  | 30 
 3 files changed, 1 insertion(+), 107 deletions(-)
 delete mode 100644 crypto/des/rpc_des.h
 delete mode 100644 crypto/des/rpc_enc.c

diff --git a/crypto/des/build.info b/crypto/des/build.info
index c0306cf..707c1e7 100644
--- a/crypto/des/build.info
+++ b/crypto/des/build.info
@@ -5,7 +5,7 @@ SOURCE[../../libcrypto]=\
 ofb64ede.c ofb64enc.c ofb_enc.c \
 str2key.c  pcbc_enc.c qud_cksm.c rand_key.c \
 {- $target{des_asm_src} -} \
-fcrypt.c xcbc_enc.c rpc_enc.c  cbc_cksm.c
+fcrypt.c xcbc_enc.c cbc_cksm.c
 
 GENERATE[des_enc-sparc.S]=asm/des_enc.m4
 GENERATE[dest4-sparcv9.S]=asm/dest4-sparcv9.pl $(PERLASM_SCHEME)
diff --git a/crypto/des/rpc_des.h b/crypto/des/rpc_des.h
deleted file mode 100644
index fe59e22..000
--- a/crypto/des/rpc_des.h
+++ /dev/null
@@ -1,76 +0,0 @@
-/*
- * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
- *
- * Licensed under the OpenSSL license (the "License").  You may not use
- * this file except in compliance with the License.  You can obtain a copy
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-/*  @(#)des.h   2.2 88/08/10 4.0 RPCSRC; from 2.7 88/02/08 SMI  */
-/*-
- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
- * unrestricted use provided that this legend is included on all tape
- * media and as a part of the software program in whole or part.  Users
- * may copy or modify Sun RPC without charge, but are not authorized
- * to license or distribute it to anyone else except as part of a product or
- * program developed by the user.
- *
- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
- *
- * Sun RPC is provided with no support and without any obligation on the
- * part of Sun Microsystems, Inc. to assist in its use, correction,
- * modification or enhancement.
- *
- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
- * OR ANY PART THEREOF.
- *
- * In no event will Sun Microsystems, Inc. be liable for any lost revenue
- * or profits or other special, indirect and consequential damages, even if
- * Sun has been advised of the possibility of such damages.
- *
- * Sun Microsystems, Inc.
- * 2550 Garcia Avenue
- * Mountain View, California  94043
- */
-/*
- * Generic DES driver interface
- * Keep this file hardware independent!
- * Copyright (c) 1986 by Sun Microsystems, Inc.
- */
-
-#define DES_MAXLEN  65536   /* maximum # of bytes to encrypt */
-#define DES_QUICKLEN16  /* maximum # of bytes to encrypt quickly */
-
-enum desdir { ENCRYPT, DECRYPT };
-enum desmode { CBC, ECB };
-
-/*
- * parameters to ioctl call
- */
-struct desparams {
-unsigned char des_key[8];   /* key (with low bit parity) */
-enum desdir des_dir;/* direction */
-enum desmode des_mode;  /* mode */
-unsigned char des_ivec[8];  /* input vector */
-unsigned des_len;   /* number of bytes to crypt */
-union {
-unsigned char UDES_data[DES_QUICKLEN];
-unsigned char *UDES_buf;
-} UDES;
-#define des_data UDES.UDES_data /* direct data here if quick */
-#define des_buf  UDES.UDES_buf  /* otherwise, pointer to data */
-};
-
-/*
- * Encrypt an arbitrary sized buffer
- */
-#define DESIOCBLOCK _IOWR('d', 6, struct desparams)
-
-/*
- * Encrypt of small amount of data, quickly
- */
-#define DESIOCQUICK _IOWR('d', 7, struct desparams)
diff --git a/crypto/des/rpc_enc.c b/crypto/des/rpc_enc.c
deleted file mode 100644
index bfa8511..000
--- a/crypto/des/rpc_enc.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
- *
- * Licensed under the OpenSSL license (the "License").  You may not use
- * this file except in compliance with the License.  You can obtain a copy
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#include "rpc_des.h"
-#include "des_locl.h"
-
-int _des_crypt(char *buf, int len, struct desparams *de

[openssl-commits] Build failed: openssl 1.0.1877

2017-02-28 Thread AppVeyor



Build openssl 1.0.1877 failed


Commit cb73c1c51b by FdaSilvaYY on 2/28/2017 10:32 PM:

Declare and implement X509 extension code for x509ExtAdmission


Configure your notification preferences

_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] Build failed: openssl master.8359

2017-02-28 Thread AppVeyor



Build openssl master.8359 failed


Commit dd9f9cf54a by Rich Salz on 1/18/2017 8:35 PM:

Have RSA_null return NULL (always fails)


Configure your notification preferences

_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] Build completed: openssl 1.0.1878

2017-02-28 Thread AppVeyor


Build openssl 1.0.1878 completed



Commit 6d3044cb90 by FdaSilvaYY on 2/28/2017 10:32 PM:

Add missing COPYRIGHT section


Configure your notification preferences

_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] Build completed: openssl master.8360

2017-02-28 Thread AppVeyor


Build openssl master.8360 completed



Commit 6faa345632 by Rich Salz on 2/28/2017 3:13 PM:

Update year, wording tweak


Configure your notification preferences

_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] Still FAILED build of OpenSSL branch master with options -d --strict-warnings no-ct

2017-02-28 Thread OpenSSL run-checker
Platform and configuration command:

$ uname -a
Linux test 4.4.0-64-generic #85-Ubuntu SMP Mon Feb 20 11:50:30 UTC 2017 x86_64 
x86_64 x86_64 GNU/Linux
$ CC=clang ../openssl/config -d --strict-warnings no-ct

Commit log since last time:

43f9e0a Code health: Remove base address setting for mingw
1bcbf65 Fix handling of EVP_PKEY_CTRL_PKCS7_ENCRYPT/DECRYPT with OPENSSL_NO_CMS.
a00b956 Add AGL's "beer mug" PEM file as another test input
e8cee55 Add test corpus for PEM reading
5ea564f Code health: Quick note in changes and the OPENSSL_GLOBAL et al changes
9c5e87b Code health: With the VAX C-ism gone, OPENSSL_GLOBAL can be removed too
6cef801 Code health: Remove another VAX C-ism, globaldef and globalref
77baccd Code health: make update
96bc5d0 Code health: Remove VAX exceptions in util/mkdef.pl
38a322a Code health: Remove unused VAX transfer vector for engines
629192c Exdata test was never enabled.
d5aa14d Remove memcpy unrolling in bn_lib.c
c26f655 Remove support for HMAC_TEST_PRIVATE_KEY_FORMAT
a2b22cd Remove GENCB_TEST compile flag
4d118fe Fix test_ssl_new when compiled with no-tls1_2 or no-dtls1_2
e9ee653 Fix sslapitest when compiled with no-tls1_2
c5055ad Revert rc4test removal, it performs additional tests not in evptests.txt
a633f26 Remove some commented out code in the tests
38f2837 Remove some commented out code in libssl
7f517c2 Remove some commented out code in libcrypto
9fa36f5 Remove some commented out code in the apps
816060d Remove more redundant tests: md4, md5, rmd, rc4, p5_crpt2
a7ab975 Remove a pointless "#ifndef" from bf_enc.c
6bb9006 Remove bf_cbc.c
6faa345 Update year, wording tweak
cec7dfc Remove the file r160test.c
a2121e1 Remove wp_test.c: exactly the same tests are in evptests.txt
1fef2f8 Remove dead code in bn
2722ff5 Remove some #if 0 code in ssl, crypto/bio
14097b6 Code health: Stop using timeb.h / ftime() (VMS only)
e627a13 Code health: Remove obvious VAX C fixups
8a05d6b More Configure cleanup. Remove - util/incore - util/fipslink.pl - the 
unused "baseaddr" configure switch
b53338c Clean up references to FIPS
223a90c Remove BN_DEBUG_TRIX
e546e2c Remove debugging leftovers in apps/opt.c
533b178 Avoid buffer underflow in evp_test.
fa7e9ed Remove unnecessary memset after PR #2583 avoids accessing the 
uninitialized session_id now.
44e2d45 Move the CHIL engine to demos/engines
df15c84 Remove some dead code from libssl
9d70ac9 Code cleanup: remove the VMS specific reimplementation of gmtime
5c2ee53 Remove dead code in crypto/pkcs7
ebc354a Remove methtest.c
d86f2f2 Remove ancient demoCA directory
9664512 Renumber to avoid a error code clash

Build log ended with (last 100 lines):

../../openssl/test/recipes/15-test_ec.t ... ok
../../openssl/test/recipes/15-test_ecdh.t . ok
../../openssl/test/recipes/15-test_ecdsa.t  ok
../../openssl/test/recipes/15-test_rsa.t .. ok
../../openssl/test/recipes/20-test_enc.t .. ok
../../openssl/test/recipes/20-test_enc_more.t . ok
../../openssl/test/recipes/20-test_passwd.t ... ok
../../openssl/test/recipes/25-test_crl.t .. ok
../../openssl/test/recipes/25-test_d2i.t .. ok
../../openssl/test/recipes/25-test_pkcs7.t  ok
../../openssl/test/recipes/25-test_req.t .. ok
../../openssl/test/recipes/25-test_sid.t .. ok
../../openssl/test/recipes/25-test_verify.t ... ok
../../openssl/test/recipes/25-test_x509.t . ok
../../openssl/test/recipes/30-test_afalg.t  ok
../../openssl/test/recipes/30-test_engine.t ... ok
../../openssl/test/recipes/30-test_evp.t .. ok
../../openssl/test/recipes/30-test_evp_extra.t  ok
../../openssl/test/recipes/30-test_pbelu.t  ok
../../openssl/test/recipes/30-test_pkey_meth.t  ok
../../openssl/test/recipes/40-test_rehash.t ... ok
../../openssl/test/recipes/60-test_x509_store.t ... ok
../../openssl/test/recipes/60-test_x509_time.t  ok
../../openssl/test/recipes/70-test_asyncio.t .. ok
../../openssl/test/recipes/70-test_bad_dtls.t . ok
../../openssl/test/recipes/70-test_clienthello.t .. ok
../../openssl/test/recipes/70-test_key_share.t  skipped: test_key_share 
needs TLS1.3 enabled
../../openssl/test/recipes/70-test_packet.t ... ok
../../openssl/test/recipes/70-test_renegotiation.t  ok
../../openssl/test/recipes/70-test_sslcbcpadding.t  ok
../../openssl/test/recipes/70-test_sslcertstatus.t  ok
../../openssl/test/recipes/70-test_sslextension.t . ok
../../openssl/test/recipes/70-test_sslmessages.t .. ok
../../openssl/test/recipes/70-test_sslrecords.t ... ok
../../openssl/test/recipes/70-test_sslsessiontick.t ... ok
../../openssl/test/recipes/70-test_sslsigalgs.t ... ok
../../openssl/test/recipes/70-test_sslsignature.t . ok
../../openssl/test/recipes/70-test_sslskewith0p.t . ok
../../openssl/test/recipes/70-test_sslversions.t .. skipped:

[openssl-commits] Still FAILED build of OpenSSL branch master with options -d --strict-warnings no-ec

2017-02-28 Thread OpenSSL run-checker
Platform and configuration command:

$ uname -a
Linux test 4.4.0-64-generic #85-Ubuntu SMP Mon Feb 20 11:50:30 UTC 2017 x86_64 
x86_64 x86_64 GNU/Linux
$ CC=clang ../openssl/config -d --strict-warnings no-ec

Commit log since last time:

43f9e0a Code health: Remove base address setting for mingw
1bcbf65 Fix handling of EVP_PKEY_CTRL_PKCS7_ENCRYPT/DECRYPT with OPENSSL_NO_CMS.
a00b956 Add AGL's "beer mug" PEM file as another test input
e8cee55 Add test corpus for PEM reading
5ea564f Code health: Quick note in changes and the OPENSSL_GLOBAL et al changes
9c5e87b Code health: With the VAX C-ism gone, OPENSSL_GLOBAL can be removed too
6cef801 Code health: Remove another VAX C-ism, globaldef and globalref
77baccd Code health: make update
96bc5d0 Code health: Remove VAX exceptions in util/mkdef.pl
38a322a Code health: Remove unused VAX transfer vector for engines
629192c Exdata test was never enabled.
d5aa14d Remove memcpy unrolling in bn_lib.c
c26f655 Remove support for HMAC_TEST_PRIVATE_KEY_FORMAT
a2b22cd Remove GENCB_TEST compile flag
4d118fe Fix test_ssl_new when compiled with no-tls1_2 or no-dtls1_2
e9ee653 Fix sslapitest when compiled with no-tls1_2
c5055ad Revert rc4test removal, it performs additional tests not in evptests.txt
a633f26 Remove some commented out code in the tests
38f2837 Remove some commented out code in libssl
7f517c2 Remove some commented out code in libcrypto
9fa36f5 Remove some commented out code in the apps
816060d Remove more redundant tests: md4, md5, rmd, rc4, p5_crpt2
a7ab975 Remove a pointless "#ifndef" from bf_enc.c
6bb9006 Remove bf_cbc.c
6faa345 Update year, wording tweak
cec7dfc Remove the file r160test.c
a2121e1 Remove wp_test.c: exactly the same tests are in evptests.txt
1fef2f8 Remove dead code in bn
2722ff5 Remove some #if 0 code in ssl, crypto/bio
14097b6 Code health: Stop using timeb.h / ftime() (VMS only)
e627a13 Code health: Remove obvious VAX C fixups
8a05d6b More Configure cleanup. Remove - util/incore - util/fipslink.pl - the 
unused "baseaddr" configure switch
b53338c Clean up references to FIPS
223a90c Remove BN_DEBUG_TRIX
e546e2c Remove debugging leftovers in apps/opt.c
533b178 Avoid buffer underflow in evp_test.
fa7e9ed Remove unnecessary memset after PR #2583 avoids accessing the 
uninitialized session_id now.
44e2d45 Move the CHIL engine to demos/engines
df15c84 Remove some dead code from libssl
9d70ac9 Code cleanup: remove the VMS specific reimplementation of gmtime
5c2ee53 Remove dead code in crypto/pkcs7
ebc354a Remove methtest.c
d86f2f2 Remove ancient demoCA directory
9664512 Renumber to avoid a error code clash

Build log ended with (last 100 lines):

../../openssl/test/recipes/15-test_dh.t ... ok
../../openssl/test/recipes/15-test_dsa.t .. ok
../../openssl/test/recipes/15-test_ec.t ... ok
../../openssl/test/recipes/15-test_ecdh.t . skipped: ec is not 
supported by this OpenSSL build
../../openssl/test/recipes/15-test_ecdsa.t  skipped: ec is not 
supported by this OpenSSL build
../../openssl/test/recipes/15-test_rsa.t .. ok
../../openssl/test/recipes/20-test_enc.t .. ok
../../openssl/test/recipes/20-test_enc_more.t . ok
../../openssl/test/recipes/20-test_passwd.t ... ok
../../openssl/test/recipes/25-test_crl.t .. ok
../../openssl/test/recipes/25-test_d2i.t .. ok
../../openssl/test/recipes/25-test_pkcs7.t  ok
../../openssl/test/recipes/25-test_req.t .. ok
../../openssl/test/recipes/25-test_sid.t .. skipped: test_sid needs 
EC to run
../../openssl/test/recipes/25-test_verify.t ... ok
../../openssl/test/recipes/25-test_x509.t . ok
../../openssl/test/recipes/30-test_afalg.t  ok
../../openssl/test/recipes/30-test_engine.t ... ok
../../openssl/test/recipes/30-test_evp.t .. ok
../../openssl/test/recipes/30-test_evp_extra.t  ok
../../openssl/test/recipes/30-test_pbelu.t  ok
../../openssl/test/recipes/30-test_pkey_meth.t  ok
../../openssl/test/recipes/40-test_rehash.t ... ok
../../openssl/test/recipes/60-test_x509_store.t ... ok
../../openssl/test/recipes/60-test_x509_time.t  ok
../../openssl/test/recipes/70-test_asyncio.t .. ok
../../openssl/test/recipes/70-test_bad_dtls.t . ok
../../openssl/test/recipes/70-test_clienthello.t .. ok
../../openssl/test/recipes/70-test_key_share.t  skipped: test_key_share 
needs TLS1.3 enabled
../../openssl/test/recipes/70-test_packet.t ... ok
../../openssl/test/recipes/70-test_renegotiation.t  ok
../../openssl/test/recipes/70-test_sslcbcpadding.t  ok
../../openssl/test/recipes/70-test_sslcertstatus.t  ok
../../openssl/test/recipes/70-test_sslextension.t . ok
../../openssl/test/recipes/70-test_sslmessages.t .. ok
../../openssl/test/recipes/70-test_sslrecords.t ... ok
../../openssl/test/recipes/70-test_sslsessiontick.t 

[openssl-commits] [openssl] master update

2017-02-28 Thread Rich Salz
The branch master has been updated
   via  5c6c4c5c333c8ac469e53521cf747ff527b8813a (commit)
  from  695ecf8b44342d8870b1fc55f423710a7e5e89eb (commit)


- Log -
commit 5c6c4c5c333c8ac469e53521cf747ff527b8813a
Author: Benjamin Kaduk 
Date:   Tue Feb 28 16:09:53 2017 -0600

Don't free in cleanup routine

Cleanse instead, and free in the free routine.

Seems to have been introduced in commit
846ec07d904f9cc81d486db0db14fb84f61ff6e5 when EVP_CIPHER_CTX was made
opaque.

Reviewed-by: Richard Levitte 
Reviewed-by: Rich Salz 
(Merged from https://github.com/openssl/openssl/pull/2798)

---

Summary of changes:
 crypto/cmac/cmac.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/crypto/cmac/cmac.c b/crypto/cmac/cmac.c
index c4f13a0..0f4ca26 100644
--- a/crypto/cmac/cmac.c
+++ b/crypto/cmac/cmac.c
@@ -60,7 +60,7 @@ CMAC_CTX *CMAC_CTX_new(void)
 
 void CMAC_CTX_cleanup(CMAC_CTX *ctx)
 {
-EVP_CIPHER_CTX_free(ctx->cctx);
+EVP_CIPHER_CTX_cleanup(ctx->cctx);
 OPENSSL_cleanse(ctx->tbl, EVP_MAX_BLOCK_LENGTH);
 OPENSSL_cleanse(ctx->k1, EVP_MAX_BLOCK_LENGTH);
 OPENSSL_cleanse(ctx->k2, EVP_MAX_BLOCK_LENGTH);
@@ -78,6 +78,7 @@ void CMAC_CTX_free(CMAC_CTX *ctx)
 if (!ctx)
 return;
 CMAC_CTX_cleanup(ctx);
+EVP_CIPHER_CTX_free(ctx->cctx);
 OPENSSL_free(ctx);
 }
 
_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] [openssl] OpenSSL_1_1_0-stable update

2017-02-28 Thread Rich Salz
The branch OpenSSL_1_1_0-stable has been updated
   via  0adaabf6cd9ef104468edd353d721cd2d7afca5e (commit)
  from  027211787a0388bae578f153e7b15b4eb30f352e (commit)


- Log -
commit 0adaabf6cd9ef104468edd353d721cd2d7afca5e
Author: Benjamin Kaduk 
Date:   Tue Feb 28 16:09:53 2017 -0600

Don't free in cleanup routine

Cleanse instead, and free in the free routine.

Seems to have been introduced in commit
846ec07d904f9cc81d486db0db14fb84f61ff6e5 when EVP_CIPHER_CTX was made
opaque.

Reviewed-by: Richard Levitte 
Reviewed-by: Rich Salz 
(Merged from https://github.com/openssl/openssl/pull/2798)
(cherry picked from commit 5c6c4c5c333c8ac469e53521cf747ff527b8813a)

---

Summary of changes:
 crypto/cmac/cmac.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/crypto/cmac/cmac.c b/crypto/cmac/cmac.c
index c4f13a0..0f4ca26 100644
--- a/crypto/cmac/cmac.c
+++ b/crypto/cmac/cmac.c
@@ -60,7 +60,7 @@ CMAC_CTX *CMAC_CTX_new(void)
 
 void CMAC_CTX_cleanup(CMAC_CTX *ctx)
 {
-EVP_CIPHER_CTX_free(ctx->cctx);
+EVP_CIPHER_CTX_cleanup(ctx->cctx);
 OPENSSL_cleanse(ctx->tbl, EVP_MAX_BLOCK_LENGTH);
 OPENSSL_cleanse(ctx->k1, EVP_MAX_BLOCK_LENGTH);
 OPENSSL_cleanse(ctx->k2, EVP_MAX_BLOCK_LENGTH);
@@ -78,6 +78,7 @@ void CMAC_CTX_free(CMAC_CTX *ctx)
 if (!ctx)
 return;
 CMAC_CTX_cleanup(ctx);
+EVP_CIPHER_CTX_free(ctx->cctx);
 OPENSSL_free(ctx);
 }
 
_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] [openssl] master update

2017-02-28 Thread Rich Salz
The branch master has been updated
   via  06611d0a1623a1ce06275b6cdd7a270d9704bf37 (commit)
  from  5c6c4c5c333c8ac469e53521cf747ff527b8813a (commit)


- Log -
commit 06611d0a1623a1ce06275b6cdd7a270d9704bf37
Author: Benjamin Kaduk 
Date:   Tue Feb 28 16:32:51 2017 -0600

Remove OPENSSL_indirect_call()

It's undocumented and unused in the tree.  The idea seems to have
never gained much traction, and can be removed without breaking
ABI compatibility.

Reviewed-by: Andy Polyakov 
Reviewed-by: Rich Salz 
(Merged from https://github.com/openssl/openssl/pull/2800)

---

Summary of changes:
 crypto/x86cpuid.pl | 39 ---
 1 file changed, 39 deletions(-)

diff --git a/crypto/x86cpuid.pl b/crypto/x86cpuid.pl
index 176e8e3..d3e7ade 100644
--- a/crypto/x86cpuid.pl
+++ b/crypto/x86cpuid.pl
@@ -292,45 +292,6 @@ for (@ARGV) { $sse2=1 if (/-DOPENSSL_IA32_SSE2/); }
&ret();
 &function_end_B("OPENSSL_atomic_add");
 
-# This function can become handy under Win32 in situations when
-# we don't know which calling convention, __stdcall or __cdecl(*),
-# indirect callee is using. In C it can be deployed as
-#
-#ifdef OPENSSL_CPUID_OBJ
-#  type OPENSSL_indirect_call(void *f,...);
-#  ...
-#  OPENSSL_indirect_call(func,[up to $max arguments]);
-#endif
-#
-# (*)  it's designed to work even for __fastcall if number of
-#  arguments is 1 or 2!
-&function_begin_B("OPENSSL_indirect_call");
-   {
-   my ($max,$i)=(7,);  # $max has to be chosen as 4*n-1
-   # in order to preserve eventual
-   # stack alignment
-   &push   ("ebp");
-   &mov("ebp","esp");
-   &sub("esp",$max*4);
-   &mov("ecx",&DWP(12,"ebp"));
-   &mov(&DWP(0,"esp"),"ecx");
-   &mov("edx",&DWP(16,"ebp"));
-   &mov(&DWP(4,"esp"),"edx");
-   for($i=2;$i<$max;$i++)
-   {
-   # Some copies will be redundant/bogus...
-   &mov("eax",&DWP(12+$i*4,"ebp"));
-   &mov(&DWP(0+$i*4,"esp"),"eax");
-   }
-   &call_ptr   (&DWP(8,"ebp"));# make the call...
-   &mov("esp","ebp");  # ... and just restore the stack pointer
-   # without paying attention to what we called,
-   # (__cdecl *func) or (__stdcall *one).
-   &pop("ebp");
-   &ret();
-   }
-&function_end_B("OPENSSL_indirect_call");
-
 &function_begin_B("OPENSSL_cleanse");
&mov("edx",&wparam(0));
&mov("ecx",&wparam(1));
_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] [openssl] OpenSSL_1_1_0-stable update

2017-02-28 Thread Rich Salz
The branch OpenSSL_1_1_0-stable has been updated
   via  1bc45dd2cc8b4e18d8fc530f68c8949fab335643 (commit)
  from  0adaabf6cd9ef104468edd353d721cd2d7afca5e (commit)


- Log -
commit 1bc45dd2cc8b4e18d8fc530f68c8949fab335643
Author: Richard Levitte 
Date:   Mon Dec 5 15:13:26 2016 +0100

Test framework: Add the possibility to have a test specific data dir

This data directory is formed automatically by taking the recipe name
and changing '.t' to '_data'.  Files in there can be reached with the
new function data_file()

(Merged from https://github.com/openssl/openssl/pull/2027)
(cherry picked from commit 6c6a2ae6fc964795304bbe7687e42b2b0cdf81b3)
Reviewed-by: Richard Levitte 
Reviewed-by: Rich Salz 
(Merged from https://github.com/openssl/openssl/pull/2802)

---

Summary of changes:
 test/testlib/OpenSSL/Test.pm | 36 
 1 file changed, 36 insertions(+)

diff --git a/test/testlib/OpenSSL/Test.pm b/test/testlib/OpenSSL/Test.pm
index 0c3b910..f5f0665 100644
--- a/test/testlib/OpenSSL/Test.pm
+++ b/test/testlib/OpenSSL/Test.pm
@@ -20,6 +20,7 @@ $VERSION = "0.8";
run));
 @EXPORT_OK = (@Test::More::EXPORT_OK, qw(bldtop_dir bldtop_file
  srctop_dir srctop_file
+ data_file
  pipe with cmdstr quotify));
 
 =head1 NAME
@@ -50,6 +51,11 @@ This module I on the environment variables C<$TOP> 
or C<$SRCTOP>
 and C<$BLDTOP>.  Without one of the combinations it refuses to work.
 See L below.
 
+With each test recipe, a parallel data directory with (almost) the same name
+as the recipe is possible in the source directory tree.  For example, for a
+recipe C<$SRCTOP/test/recipes/99-foo.t>, there could be a directory
+C<$SRCTOP/test/recipes/99-foo_data/>.
+
 =cut
 
 use File::Copy;
@@ -57,6 +63,7 @@ use File::Spec::Functions qw/file_name_is_absolute curdir 
canonpath splitdir
  catdir catfile splitpath catpath devnull abs2rel
  rel2abs/;
 use File::Path 2.00 qw/rmtree mkpath/;
+use File::Basename;
 
 
 # The name of the test.  This is set by setup() and is used in the other
@@ -506,6 +513,23 @@ sub srctop_file {
 
 =over 4
 
+=item B
+
+LIST is a list of directories that make up a path from the data directory
+associated with the test (see L above) and FILENAME is the name
+of a file located in that directory path.  C returns the resulting
+file path as a string, adapted to the local operating system.
+
+=back
+
+=cut
+
+sub data_file {
+return __data_file(@_);
+}
+
+=over 4
+
 =item B
 
 LIST is a list of CODEREFs returned by C or C, from which C
@@ -705,6 +729,8 @@ failures will result in a C at the end of its run.
 =cut
 
 sub __env {
+(my $recipe_datadir = basename($0)) =~ s/\.t$/_data/i;
+
 $directories{SRCTOP}  = $ENV{SRCTOP} || $ENV{TOP};
 $directories{BLDTOP}  = $ENV{BLDTOP} || $ENV{TOP};
 $directories{BLDAPPS} = $ENV{BIN_D}  || __bldtop_dir("apps");
@@ -713,6 +739,8 @@ sub __env {
 $directories{SRCFUZZ} = __srctop_dir("fuzz");
 $directories{BLDTEST} = $ENV{TEST_D} || __bldtop_dir("test");
 $directories{SRCTEST} = __srctop_dir("test");
+$directories{SRCDATA} = __srctop_dir("test", "recipes",
+ $recipe_datadir);
 $directories{RESULTS} = $ENV{RESULT_D} || $directories{BLDTEST};
 
 push @direnv, "TOP"   if $ENV{TOP};
@@ -806,6 +834,13 @@ sub __perlapps_file {
 return ($^X, $f);
 }
 
+sub __data_file {
+BAIL_OUT("Must run setup() first") if (! $test_name);
+
+my $f = pop;
+return catfile($directories{SRCDATA},@_,$f);
+}
+
 sub __results_file {
 BAIL_OUT("Must run setup() first") if (! $test_name);
 
@@ -887,6 +922,7 @@ sub __cwd {
print STDERR "DEBUG: __cwd(), directories and files:\n";
print STDERR "  \$directories{BLDTEST} = \"$directories{BLDTEST}\"\n";
print STDERR "  \$directories{SRCTEST} = \"$directories{SRCTEST}\"\n";
+   print STDERR "  \$directories{SRCDATA} = \"$directories{SRCDATA}\"\n";
print STDERR "  \$directories{RESULTS} = \"$directories{RESULTS}\"\n";
print STDERR "  \$directories{BLDAPPS} = \"$directories{BLDAPPS}\"\n";
print STDERR "  \$directories{SRCAPPS} = \"$directories{SRCAPPS}\"\n";
_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] Errored: openssl/openssl#9073 (master - 5ea564f)

2017-02-28 Thread Travis CI
Build Update for openssl/openssl
-

Build: #9073
Status: Errored

Duration: 19 minutes and 11 seconds
Commit: 5ea564f (master)
Author: Richard Levitte
Message: Code health: Quick note in changes and the OPENSSL_GLOBAL et al changes

Reviewed-by: Andy Polyakov 
Reviewed-by: Rich Salz 
(Merged from https://github.com/openssl/openssl/pull/2785)

View the changeset: 
https://github.com/openssl/openssl/compare/77baccd7fac7...5ea564f154eb

View the full build log and details: 
https://travis-ci.org/openssl/openssl/builds/206294818

--

You can configure recipients for build notifications in your .travis.yml file. 
See https://docs.travis-ci.com/user/notifications

_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] Errored: openssl/openssl#9071 (master - 77baccd)

2017-02-28 Thread Travis CI
Build Update for openssl/openssl
-

Build: #9071
Status: Errored

Duration: 19 minutes and 49 seconds
Commit: 77baccd (master)
Author: Richard Levitte
Message: Code health: make update

Reviewed-by: Rich Salz 
(Merged from https://github.com/openssl/openssl/pull/2793)

View the changeset: 
https://github.com/openssl/openssl/compare/629192c1b9f1...77baccd7fac7

View the full build log and details: 
https://travis-ci.org/openssl/openssl/builds/206292917

--

You can configure recipients for build notifications in your .travis.yml file. 
See https://docs.travis-ci.com/user/notifications

_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] Errored: openssl/openssl#9074 (master - a00b956)

2017-02-28 Thread Travis CI
Build Update for openssl/openssl
-

Build: #9074
Status: Errored

Duration: 4 minutes and 16 seconds
Commit: a00b956 (master)
Author: Benjamin Kaduk
Message: Add AGL's "beer mug" PEM file as another test input

AGL has a history of pointing out the idiosynchronies/laxness of the
openssl PEM parser in amusing ways.  If we want this functionality to
stay present, we should test that it works.

Reviewed-by: Rich Salz 
Reviewed-by: Richard Levitte 
(Merged from https://github.com/openssl/openssl/pull/2756)

View the changeset: 
https://github.com/openssl/openssl/compare/5ea564f154eb...a00b9560f7ec

View the full build log and details: 
https://travis-ci.org/openssl/openssl/builds/206310830

--

You can configure recipients for build notifications in your .travis.yml file. 
See https://docs.travis-ci.com/user/notifications

_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] Broken: openssl/openssl#9075 (OpenSSL_1_1_0-stable - 0272117)

2017-02-28 Thread Travis CI
Build Update for openssl/openssl
-

Build: #9075
Status: Broken

Duration: 7 minutes and 2 seconds
Commit: 0272117 (OpenSSL_1_1_0-stable)
Author: Benjamin Kaduk
Message: Add AGL's "beer mug" PEM file as another test input

AGL has a history of pointing out the idiosynchronies/laxness of the
openssl PEM parser in amusing ways.  If we want this functionality to
stay present, we should test that it works.

Reviewed-by: Rich Salz 
Reviewed-by: Richard Levitte 
(Merged from https://github.com/openssl/openssl/pull/2756)
(cherry picked from commit a00b9560f7ece1e51bd7a8dc6a7ffb7a3d20cf86)

View the changeset: 
https://github.com/openssl/openssl/compare/3588a2bd1f5b...027211787a03

View the full build log and details: 
https://travis-ci.org/openssl/openssl/builds/206311006

--

You can configure recipients for build notifications in your .travis.yml file. 
See https://docs.travis-ci.com/user/notifications

_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] Errored: openssl/openssl#9076 (master - 1bcbf65)

2017-02-28 Thread Travis CI
Build Update for openssl/openssl
-

Build: #9076
Status: Errored

Duration: 7 minutes and 44 seconds
Commit: 1bcbf65 (master)
Author: Bernd Edlinger
Message: Fix handling of EVP_PKEY_CTRL_PKCS7_ENCRYPT/DECRYPT with 
OPENSSL_NO_CMS.

Reviewed-by: Stephen Henson 
Reviewed-by: Rich Salz 
(Merged from https://github.com/openssl/openssl/pull/2764)

View the changeset: 
https://github.com/openssl/openssl/compare/a00b9560f7ec...1bcbf658a6ae

View the full build log and details: 
https://travis-ci.org/openssl/openssl/builds/206311881

--

You can configure recipients for build notifications in your .travis.yml file. 
See https://docs.travis-ci.com/user/notifications

_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] Errored: openssl/openssl#9079 (master - 43f9e0a)

2017-02-28 Thread Travis CI
Build Update for openssl/openssl
-

Build: #9079
Status: Errored

Duration: 18 minutes and 19 seconds
Commit: 43f9e0a (master)
Author: Richard Levitte
Message: Code health: Remove base address setting for mingw

Base address setting was done for the sake of FIPS.  Since FIPS references
have been removed, we clean away this one as well.

Reviewed-by: Rich Salz 
(Merged from https://github.com/openssl/openssl/pull/2791)

View the changeset: 
https://github.com/openssl/openssl/compare/1bcbf658a6ae...43f9e0a08cd4

View the full build log and details: 
https://travis-ci.org/openssl/openssl/builds/206312860

--

You can configure recipients for build notifications in your .travis.yml file. 
See https://docs.travis-ci.com/user/notifications

_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] Errored: openssl/openssl#9083 (master - 695ecf8)

2017-02-28 Thread Travis CI
Build Update for openssl/openssl
-

Build: #9083
Status: Errored

Duration: 19 minutes and 2 seconds
Commit: 695ecf8 (master)
Author: Andy Polyakov
Message: crypto/des: remove unreferenced rcp_enc.c module.

Reviewed-by: Richard Levitte 
Reviewed-by: Stephen Henson 

View the changeset: 
https://github.com/openssl/openssl/compare/43f9e0a08cd4...695ecf8b4434

View the full build log and details: 
https://travis-ci.org/openssl/openssl/builds/206419252

--

You can configure recipients for build notifications in your .travis.yml file. 
See https://docs.travis-ci.com/user/notifications

_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] Broken: openssl/openssl#9089 (OpenSSL_1_1_0-stable - 0adaabf)

2017-02-28 Thread Travis CI
Build Update for openssl/openssl
-

Build: #9089
Status: Broken

Duration: 12 minutes and 52 seconds
Commit: 0adaabf (OpenSSL_1_1_0-stable)
Author: Benjamin Kaduk
Message: Don't free in cleanup routine

Cleanse instead, and free in the free routine.

Seems to have been introduced in commit
846ec07d904f9cc81d486db0db14fb84f61ff6e5 when EVP_CIPHER_CTX was made
opaque.

Reviewed-by: Richard Levitte 
Reviewed-by: Rich Salz 
(Merged from https://github.com/openssl/openssl/pull/2798)
(cherry picked from commit 5c6c4c5c333c8ac469e53521cf747ff527b8813a)

View the changeset: 
https://github.com/openssl/openssl/compare/027211787a03...0adaabf6cd9e

View the full build log and details: 
https://travis-ci.org/openssl/openssl/builds/206437910

--

You can configure recipients for build notifications in your .travis.yml file. 
See https://docs.travis-ci.com/user/notifications

_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] Errored: openssl/openssl#9088 (master - 5c6c4c5)

2017-02-28 Thread Travis CI
Build Update for openssl/openssl
-

Build: #9088
Status: Errored

Duration: 15 minutes and 17 seconds
Commit: 5c6c4c5 (master)
Author: Benjamin Kaduk
Message: Don't free in cleanup routine

Cleanse instead, and free in the free routine.

Seems to have been introduced in commit
846ec07d904f9cc81d486db0db14fb84f61ff6e5 when EVP_CIPHER_CTX was made
opaque.

Reviewed-by: Richard Levitte 
Reviewed-by: Rich Salz 
(Merged from https://github.com/openssl/openssl/pull/2798)

View the changeset: 
https://github.com/openssl/openssl/compare/695ecf8b4434...5c6c4c5c333c

View the full build log and details: 
https://travis-ci.org/openssl/openssl/builds/206437795

--

You can configure recipients for build notifications in your .travis.yml file. 
See https://docs.travis-ci.com/user/notifications

_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] Broken: openssl/openssl#9093 (OpenSSL_1_1_0-stable - 1bc45dd)

2017-02-28 Thread Travis CI
Build Update for openssl/openssl
-

Build: #9093
Status: Broken

Duration: 11 minutes and 19 seconds
Commit: 1bc45dd (OpenSSL_1_1_0-stable)
Author: Richard Levitte
Message: Test framework: Add the possibility to have a test specific data dir

This data directory is formed automatically by taking the recipe name
and changing '.t' to '_data'.  Files in there can be reached with the
new function data_file()

(Merged from https://github.com/openssl/openssl/pull/2027)
(cherry picked from commit 6c6a2ae6fc964795304bbe7687e42b2b0cdf81b3)
Reviewed-by: Richard Levitte 
Reviewed-by: Rich Salz 
(Merged from https://github.com/openssl/openssl/pull/2802)

View the changeset: 
https://github.com/openssl/openssl/compare/0adaabf6cd9e...1bc45dd2cc8b

View the full build log and details: 
https://travis-ci.org/openssl/openssl/builds/206450567

--

You can configure recipients for build notifications in your .travis.yml file. 
See https://docs.travis-ci.com/user/notifications

_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] Errored: openssl/openssl#9092 (master - 06611d0)

2017-02-28 Thread Travis CI
Build Update for openssl/openssl
-

Build: #9092
Status: Errored

Duration: 16 minutes and 32 seconds
Commit: 06611d0 (master)
Author: Benjamin Kaduk
Message: Remove OPENSSL_indirect_call()

It's undocumented and unused in the tree.  The idea seems to have
never gained much traction, and can be removed without breaking
ABI compatibility.

Reviewed-by: Andy Polyakov 
Reviewed-by: Rich Salz 
(Merged from https://github.com/openssl/openssl/pull/2800)

View the changeset: 
https://github.com/openssl/openssl/compare/5c6c4c5c333c...06611d0a1623

View the full build log and details: 
https://travis-ci.org/openssl/openssl/builds/206447511

--

You can configure recipients for build notifications in your .travis.yml file. 
See https://docs.travis-ci.com/user/notifications

_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] FAILED build of OpenSSL branch master with options -d --strict-warnings enable-ubsan -DPEDANTIC -fno-sanitize=alignment

2017-02-28 Thread OpenSSL run-checker
Platform and configuration command:

$ uname -a
Linux test 4.4.0-64-generic #85-Ubuntu SMP Mon Feb 20 11:50:30 UTC 2017 x86_64 
x86_64 x86_64 GNU/Linux
$ CC=clang ../openssl/config -d --strict-warnings enable-ubsan -DPEDANTIC 
-fno-sanitize=alignment

Commit log since last time:

43f9e0a Code health: Remove base address setting for mingw
1bcbf65 Fix handling of EVP_PKEY_CTRL_PKCS7_ENCRYPT/DECRYPT with OPENSSL_NO_CMS.
a00b956 Add AGL's "beer mug" PEM file as another test input
e8cee55 Add test corpus for PEM reading
5ea564f Code health: Quick note in changes and the OPENSSL_GLOBAL et al changes
9c5e87b Code health: With the VAX C-ism gone, OPENSSL_GLOBAL can be removed too
6cef801 Code health: Remove another VAX C-ism, globaldef and globalref
77baccd Code health: make update
96bc5d0 Code health: Remove VAX exceptions in util/mkdef.pl
38a322a Code health: Remove unused VAX transfer vector for engines
629192c Exdata test was never enabled.
d5aa14d Remove memcpy unrolling in bn_lib.c
c26f655 Remove support for HMAC_TEST_PRIVATE_KEY_FORMAT
a2b22cd Remove GENCB_TEST compile flag
4d118fe Fix test_ssl_new when compiled with no-tls1_2 or no-dtls1_2
e9ee653 Fix sslapitest when compiled with no-tls1_2
c5055ad Revert rc4test removal, it performs additional tests not in evptests.txt
a633f26 Remove some commented out code in the tests
38f2837 Remove some commented out code in libssl
7f517c2 Remove some commented out code in libcrypto
9fa36f5 Remove some commented out code in the apps
816060d Remove more redundant tests: md4, md5, rmd, rc4, p5_crpt2
a7ab975 Remove a pointless "#ifndef" from bf_enc.c
6bb9006 Remove bf_cbc.c
6faa345 Update year, wording tweak
cec7dfc Remove the file r160test.c
a2121e1 Remove wp_test.c: exactly the same tests are in evptests.txt
1fef2f8 Remove dead code in bn
2722ff5 Remove some #if 0 code in ssl, crypto/bio
14097b6 Code health: Stop using timeb.h / ftime() (VMS only)
e627a13 Code health: Remove obvious VAX C fixups
8a05d6b More Configure cleanup. Remove - util/incore - util/fipslink.pl - the 
unused "baseaddr" configure switch
b53338c Clean up references to FIPS
223a90c Remove BN_DEBUG_TRIX
e546e2c Remove debugging leftovers in apps/opt.c
533b178 Avoid buffer underflow in evp_test.
fa7e9ed Remove unnecessary memset after PR #2583 avoids accessing the 
uninitialized session_id now.
44e2d45 Move the CHIL engine to demos/engines
df15c84 Remove some dead code from libssl
9d70ac9 Code cleanup: remove the VMS specific reimplementation of gmtime
5c2ee53 Remove dead code in crypto/pkcs7
ebc354a Remove methtest.c
d86f2f2 Remove ancient demoCA directory
9664512 Renumber to avoid a error code clash

Build log ended with (last 100 lines):

#   Failed test 'x509 -- first x.509 v3 certificate'
#   at ../../openssl/test/recipes/25-test_x509.t line 27.

#   Failed test 'p -> d'
#   at ../../openssl/test/recipes/tconversion.pl line 61.

#   Failed test 'p -> p'
#   at ../../openssl/test/recipes/tconversion.pl line 61.

#   Failed test 'd -> d'
#   at ../../openssl/test/recipes/tconversion.pl line 71.

#   Failed test 'p -> d'
#   at ../../openssl/test/recipes/tconversion.pl line 71.

#   Failed test 'd -> p'
#   at ../../openssl/test/recipes/tconversion.pl line 71.

#   Failed test 'p -> p'
#   at ../../openssl/test/recipes/tconversion.pl line 71.

#   Failed test 'comparing orig to p'
#   at ../../openssl/test/recipes/tconversion.pl line 80.
#  got: '1'
# expected: '0'
# Looks like you failed 7 tests of 10.

#   Failed test 'x509 -- second x.509 v3 certificate'
#   at ../../openssl/test/recipes/25-test_x509.t line 30.

#   Failed test at ../../openssl/test/recipes/25-test_x509.t line 33.
# Looks like you failed 1 test of 1.

#   Failed test 'x509 -- pathlen'
#   at ../../openssl/test/recipes/25-test_x509.t line 34.
# Looks like you failed 4 tests of 5.
../../openssl/test/recipes/25-test_x509.t . 
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/5 subtests 
../../openssl/test/recipes/30-test_afalg.t  ok
../../openssl/test/recipes/30-test_engine.t ... ok

#   Failed test 'running evp_test evptests.txt'
#   at ../../openssl/test/recipes/30-test_evp.t line 18.
# Looks like you failed 1 test of 1.
../../openssl/test/recipes/30-test_evp.t .. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests 

#   Failed test 'running evp_extra_test'
#   at ../../openssl/test/recipes/30-test_evp_extra.t line 18.
# Looks like you failed 1 test of 1.
../../openssl/test/recipes/30-test_evp_extra.t  
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests 
../../openssl/test/recipes/30-test_pbelu.t  ok
../../openssl/test/recipes/30-test_pkey_meth.t  ok

#   Failed test 'Testing normal rehash operations'
#   at ../../openssl/test/recipes/40-test_rehash.t line 30.

#   Failed test 'Testing rehash operations on readonly

[openssl-commits] Still FAILED build of OpenSSL branch master with options -d --strict-warnings no-tls

2017-02-28 Thread OpenSSL run-checker
Platform and configuration command:

$ uname -a
Linux test 4.4.0-64-generic #85-Ubuntu SMP Mon Feb 20 11:50:30 UTC 2017 x86_64 
x86_64 x86_64 GNU/Linux
$ CC=clang ../openssl/config -d --strict-warnings no-tls

Commit log since last time:

43f9e0a Code health: Remove base address setting for mingw
1bcbf65 Fix handling of EVP_PKEY_CTRL_PKCS7_ENCRYPT/DECRYPT with OPENSSL_NO_CMS.
a00b956 Add AGL's "beer mug" PEM file as another test input
e8cee55 Add test corpus for PEM reading
5ea564f Code health: Quick note in changes and the OPENSSL_GLOBAL et al changes
9c5e87b Code health: With the VAX C-ism gone, OPENSSL_GLOBAL can be removed too
6cef801 Code health: Remove another VAX C-ism, globaldef and globalref
77baccd Code health: make update
96bc5d0 Code health: Remove VAX exceptions in util/mkdef.pl
38a322a Code health: Remove unused VAX transfer vector for engines
629192c Exdata test was never enabled.
d5aa14d Remove memcpy unrolling in bn_lib.c
c26f655 Remove support for HMAC_TEST_PRIVATE_KEY_FORMAT
a2b22cd Remove GENCB_TEST compile flag
4d118fe Fix test_ssl_new when compiled with no-tls1_2 or no-dtls1_2
e9ee653 Fix sslapitest when compiled with no-tls1_2
c5055ad Revert rc4test removal, it performs additional tests not in evptests.txt
a633f26 Remove some commented out code in the tests
38f2837 Remove some commented out code in libssl
7f517c2 Remove some commented out code in libcrypto
9fa36f5 Remove some commented out code in the apps
816060d Remove more redundant tests: md4, md5, rmd, rc4, p5_crpt2
a7ab975 Remove a pointless "#ifndef" from bf_enc.c
6bb9006 Remove bf_cbc.c
6faa345 Update year, wording tweak
cec7dfc Remove the file r160test.c
a2121e1 Remove wp_test.c: exactly the same tests are in evptests.txt
1fef2f8 Remove dead code in bn
2722ff5 Remove some #if 0 code in ssl, crypto/bio
14097b6 Code health: Stop using timeb.h / ftime() (VMS only)
e627a13 Code health: Remove obvious VAX C fixups
8a05d6b More Configure cleanup. Remove - util/incore - util/fipslink.pl - the 
unused "baseaddr" configure switch
b53338c Clean up references to FIPS
223a90c Remove BN_DEBUG_TRIX
e546e2c Remove debugging leftovers in apps/opt.c
533b178 Avoid buffer underflow in evp_test.
fa7e9ed Remove unnecessary memset after PR #2583 avoids accessing the 
uninitialized session_id now.
44e2d45 Move the CHIL engine to demos/engines
df15c84 Remove some dead code from libssl
9d70ac9 Code cleanup: remove the VMS specific reimplementation of gmtime
5c2ee53 Remove dead code in crypto/pkcs7
ebc354a Remove methtest.c
d86f2f2 Remove ancient demoCA directory
9664512 Renumber to avoid a error code clash

Build log ended with (last 100 lines):

../../openssl/test/recipes/20-test_passwd.t ... ok
../../openssl/test/recipes/25-test_crl.t .. ok
../../openssl/test/recipes/25-test_d2i.t .. ok
../../openssl/test/recipes/25-test_pkcs7.t  ok
../../openssl/test/recipes/25-test_req.t .. ok
../../openssl/test/recipes/25-test_sid.t .. ok
../../openssl/test/recipes/25-test_verify.t ... ok
../../openssl/test/recipes/25-test_x509.t . ok
../../openssl/test/recipes/30-test_afalg.t  ok
../../openssl/test/recipes/30-test_engine.t ... ok
../../openssl/test/recipes/30-test_evp.t .. ok
../../openssl/test/recipes/30-test_evp_extra.t  ok
../../openssl/test/recipes/30-test_pbelu.t  ok
../../openssl/test/recipes/30-test_pkey_meth.t  ok
../../openssl/test/recipes/40-test_rehash.t ... ok
../../openssl/test/recipes/60-test_x509_store.t ... ok
../../openssl/test/recipes/60-test_x509_time.t  ok
../../openssl/test/recipes/70-test_asyncio.t .. skipped: No TLS/SSL 
protocols are supported by this OpenSSL build
../../openssl/test/recipes/70-test_bad_dtls.t . ok
../../openssl/test/recipes/70-test_clienthello.t .. skipped: No TLS/SSL 
protocols are supported by this OpenSSL build
../../openssl/test/recipes/70-test_key_share.t  skipped: test_key_share 
needs TLS1.3 enabled
../../openssl/test/recipes/70-test_packet.t ... ok
../../openssl/test/recipes/70-test_renegotiation.t  skipped: 
test_renegotiation needs TLS <= 1.2 enabled
../../openssl/test/recipes/70-test_sslcbcpadding.t  skipped: 
test_sslcbcpadding needs TLSv1.2 enabled
../../openssl/test/recipes/70-test_sslcertstatus.t  skipped: 
test_sslcertstatus needs TLS enabled
../../openssl/test/recipes/70-test_sslextension.t . skipped: 
test_sslextension needs TLS enabled
../../openssl/test/recipes/70-test_sslmessages.t .. skipped: 
test_sslmessages needs TLS enabled
../../openssl/test/recipes/70-test_sslrecords.t ... skipped: 
test_sslrecords needs TLSv1.2 enabled
../../openssl/test/recipes/70-test_sslsessiontick.t ... skipped: 
test_sslsessiontick needs SSLv3, TLSv1, TLSv1.1 or TLSv1.2 enabled
../../openssl/test/recipes/70-test_sslsigalgs.t ... skipped: 
test_sslsigalgs needs TLS1.2 or TLS1.3 enabled
../../