[openssl-dev] Couple of pointers

Richard Levitte levitte at openssl.org
Tue Jan 19 10:04:38 UTC 2016


In message <20160119093327.GA7568 at doctor.nl2k.ab.ca> on Tue, 19 Jan 2016 02:33:27 -0700, The Doctor <doctor at doctor.nl2k.ab.ca> said:

doctor> 1)
doctor> 
doctor> For backwards compability do we have in I think openssl/rsa.h
doctor> 
doctor> #define  SSLeay_add_ssl_algorithms OpenSSL_add_ssl_algorithms
doctor> #define  SSLv23_server_method  TLS_server_method 

That would be openssl/ssl.h rather than openssl/rsa.h...

doctor> 2)
doctor> 
doctor> Running the old BSD/OS 
doctor> 
doctor> I get
doctor> 
doctor> rm -f openssl
doctor> shlib_target=; if [ -n "libcrypto.so.1.1 libssl.so.1.1" ]; then  shlib_target="bsd-gcc-shared";  fi;  LIBRARIES="-L.. -lssl -L.. -lcrypto" ;  make -f ../Makefile.shared -e  APPNAME=openssl OBJECTS="openssl.o asn1pars.o ca.o ciphers.o cms.o crl.o crl2p7.o dgst.o dhparam.o  dsa.o dsaparam.o ec.o ecparam.o enc.o engine.o errstr.o gendsa.o  genpkey.o genrsa.o nseq.o ocsp.o passwd.o pkcs12.o pkcs7.o pkcs8.o  pkey.o pkeyparam.o pkeyutl.o prime.o rand.o req.o rsa.o rsautl.o  s_client.o s_server.o s_time.o sess_id.o smime.o speed.o spkac.o  srp.o ts.o verify.o version.o x509.o rehash.o apps.o opt.o s_cb.o s_socket.o app_rand.o"  LIBDEPS=" $LIBRARIES -ldl -lgmp -lm -lc -lz"  link_app.${shlib_target}
doctor> TOP=.. PERL=/usr/bin/perl5 /usr/bin/perl5 run_tests.pl alltests
doctor> ../test/recipes/00-check_testexes.t ....... ok
doctor> ../test/recipes/01-test_ordinals.t ........ ok
doctor> ../test/recipes/05-test_bf.t .............. ok
doctor> ../test/recipes/05-test_cast.t ............ ok
doctor> ../test/recipes/05-test_des.t ............. ok
doctor> ../test/recipes/05-test_hmac.t ............ ok
doctor> ../test/recipes/05-test_idea.t ............ ok
doctor> ../test/recipes/05-test_md2.t ............. skipped: md2 is not supported by this OpenSSL build
doctor> ../test/recipes/05-test_md4.t ............. ok
doctor> ../test/recipes/05-test_md5.t ............. ok
doctor> ../test/recipes/05-test_mdc2.t ............ ok
doctor> ../test/recipes/05-test_rand.t ............ 1/1
doctor> #   Failed test 'running randtest'
doctor> #   at ../test/testlib/OpenSSL/Test/Simple.pm line 64.
doctor> # Looks like you failed 1 test of 1.
doctor> ../test/recipes/05-test_rand.t ............ Dubious, test returned 1 (wstat 256, 0x100)
doctor> Failed 1/1 subtests
doctor> ../test/recipes/05-test_rc2.t ............. ok
doctor> ../test/recipes/05-test_rc4.t ............. ok
doctor> ../test/recipes/05-test_rc5.t ............. ok
doctor> ../test/recipes/05-test_rmd.t ............. ok
doctor> ../test/recipes/05-test_sha1.t ............ ok
doctor> ../test/recipes/05-test_sha256.t .......... ok
doctor> ../test/recipes/05-test_sha512.t .......... ok
doctor> ../test/recipes/05-test_wp.t .............. ok
doctor> ../test/recipes/10-test_bn.t .............. ok
doctor> ../test/recipes/10-test_exp.t ............. ok
doctor> ../test/recipes/15-test_dh.t .............. ok
doctor> ../test/recipes/15-test_dsa.t ............. ok
doctor> ../test/recipes/15-test_ec.t .............. ok
doctor> ../test/recipes/15-test_ecdh.t ............ ok
doctor> ../test/recipes/15-test_ecdsa.t ........... ok
doctor> ../test/recipes/15-test_rsa.t ............. ok
doctor> ../test/recipes/20-test_enc.t ............. 2/129
doctor> #   Failed test 'aes-128-cbc'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'aes-128-cbc base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> ../test/recipes/20-test_enc.t ............. 4/129
doctor> #   Failed test 'aes-128-ecb'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'aes-128-ecb base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'aes-192-cbc'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> ../test/recipes/20-test_enc.t ............. 7/129
doctor> #   Failed test 'aes-192-cbc base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'aes-192-ecb'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'aes-192-ecb base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'aes-256-cbc'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> ../test/recipes/20-test_enc.t ............. 11/129
doctor> #   Failed test 'aes-256-cbc base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'aes-256-ecb'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'aes-256-ecb base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> ../test/recipes/20-test_enc.t ............. 16/129
doctor> #   Failed test 'bf'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'bf base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> ../test/recipes/20-test_enc.t ............. 18/129
doctor> #   Failed test 'bf-cbc'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'bf-cbc base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'bf-cfb'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> ../test/recipes/20-test_enc.t ............. 21/129
doctor> #   Failed test 'bf-cfb base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'bf-ecb'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'bf-ecb base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'bf-ofb'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> ../test/recipes/20-test_enc.t ............. 25/129
doctor> #   Failed test 'bf-ofb base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'camellia-128-cbc'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> ../test/recipes/20-test_enc.t ............. 27/129
doctor> #   Failed test 'camellia-128-cbc base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'camellia-128-ecb'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'camellia-128-ecb base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> ../test/recipes/20-test_enc.t ............. 30/129
doctor> #   Failed test 'camellia-192-cbc'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'camellia-192-cbc base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'camellia-192-ecb'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> ../test/recipes/20-test_enc.t ............. 33/129
doctor> #   Failed test 'camellia-192-ecb base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'camellia-256-cbc'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'camellia-256-cbc base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> ../test/recipes/20-test_enc.t ............. 36/129
doctor> #   Failed test 'camellia-256-ecb'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'camellia-256-ecb base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'cast'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> ../test/recipes/20-test_enc.t ............. 39/129
doctor> #   Failed test 'cast base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'cast-cbc'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'cast-cbc base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> ../test/recipes/20-test_enc.t ............. 42/129
doctor> #   Failed test 'cast5-cbc'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'cast5-cbc base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'cast5-cfb'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> ../test/recipes/20-test_enc.t ............. 45/129
doctor> #   Failed test 'cast5-cfb base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'cast5-ecb'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> ../test/recipes/20-test_enc.t ............. 47/129
doctor> #   Failed test 'cast5-ecb base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'cast5-ofb'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'cast5-ofb base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> ../test/recipes/20-test_enc.t ............. 50/129
doctor> #   Failed test 'des'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'des base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'des-cbc'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> ../test/recipes/20-test_enc.t ............. 53/129
doctor> #   Failed test 'des-cbc base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'des-cfb'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'des-cfb base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'des-ecb'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> ../test/recipes/20-test_enc.t ............. 57/129
doctor> #   Failed test 'des-ecb base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'des-ede'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'des-ede base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> ../test/recipes/20-test_enc.t ............. 60/129
doctor> #   Failed test 'des-ede-cbc'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'des-ede-cbc base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> ../test/recipes/20-test_enc.t ............. 62/129
doctor> #   Failed test 'des-ede-cfb'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'des-ede-cfb base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'des-ede-ofb'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> ../test/recipes/20-test_enc.t ............. 65/129
doctor> #   Failed test 'des-ede-ofb base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'des-ede3'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'des-ede3 base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> ../test/recipes/20-test_enc.t ............. 68/129
doctor> #   Failed test 'des-ede3-cbc'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'des-ede3-cbc base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'des-ede3-cfb'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> ../test/recipes/20-test_enc.t ............. 71/129
doctor> #   Failed test 'des-ede3-cfb base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'des-ede3-ofb'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'des-ede3-ofb base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> ../test/recipes/20-test_enc.t ............. 74/129
doctor> #   Failed test 'des-ofb'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'des-ofb base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'des3'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> ../test/recipes/20-test_enc.t ............. 77/129
doctor> #   Failed test 'des3 base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'desx'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'desx base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'idea'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> ../test/recipes/20-test_enc.t ............. 81/129
doctor> #   Failed test 'idea base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'idea-cbc'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'idea-cbc base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> ../test/recipes/20-test_enc.t ............. 84/129
doctor> #   Failed test 'idea-cfb'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'idea-cfb base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'idea-ecb'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'idea-ecb base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'idea-ofb'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> ../test/recipes/20-test_enc.t ............. 89/129
doctor> #   Failed test 'idea-ofb base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'rc2'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'rc2 base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> ../test/recipes/20-test_enc.t ............. 92/129
doctor> #   Failed test 'rc2-40-cbc'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'rc2-40-cbc base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'rc2-64-cbc'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> ../test/recipes/20-test_enc.t ............. 95/129
doctor> #   Failed test 'rc2-64-cbc base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'rc2-cbc'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'rc2-cbc base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> ../test/recipes/20-test_enc.t ............. 98/129
doctor> #   Failed test 'rc2-cfb'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'rc2-cfb base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'rc2-ecb'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> ../test/recipes/20-test_enc.t ............. 101/129
doctor> #   Failed test 'rc2-ecb base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'rc2-ofb'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'rc2-ofb base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> ../test/recipes/20-test_enc.t ............. 104/129
doctor> #   Failed test 'rc4'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'rc4 base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'rc4-40'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> ../test/recipes/20-test_enc.t ............. 107/129
doctor> #   Failed test 'rc4-40 base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'rc5'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'rc5 base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> ../test/recipes/20-test_enc.t ............. 110/129
doctor> #   Failed test 'rc5-cbc'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'rc5-cbc base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'rc5-cfb'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> ../test/recipes/20-test_enc.t ............. 113/129
doctor> #   Failed test 'rc5-cfb base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'rc5-ecb'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'rc5-ecb base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'rc5-ofb'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> ../test/recipes/20-test_enc.t ............. 117/129
doctor> #   Failed test 'rc5-ofb base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'seed'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'seed base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> ../test/recipes/20-test_enc.t ............. 120/129
doctor> #   Failed test 'seed-cbc'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'seed-cbc base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> ../test/recipes/20-test_enc.t ............. 122/129
doctor> #   Failed test 'seed-cfb'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'seed-cfb base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'seed-ecb'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'seed-ecb base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> ../test/recipes/20-test_enc.t ............. 126/129
doctor> #   Failed test 'seed-ofb'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> 
doctor> #   Failed test 'seed-ofb base64'
doctor> #   at ../test/recipes/20-test_enc.t line 54.
doctor> ../test/recipes/20-test_enc.t ............. 128/129 # Looks like you failed 124 tests of 129.
doctor> ../test/recipes/20-test_enc.t ............. Dubious, test returned 124 (wstat 31744, 0x7c00)
doctor> Failed 124/129 subtests
doctor> ../test/recipes/25-test_crl.t ............. ok
doctor> ../test/recipes/25-test_gen.t ............. ok
doctor> ../test/recipes/25-test_pkcs7.t ........... ok
doctor> ../test/recipes/25-test_req.t ............. ok
doctor> ../test/recipes/25-test_sid.t ............. ok
doctor> ../test/recipes/25-test_verify.t .......... ok
doctor> ../test/recipes/25-test_x509.t ............ ok
doctor> ../test/recipes/30-test_engine.t .......... ok
doctor> ../test/recipes/30-test_evp.t ............. 1/1
doctor> #   Failed test 'running evp_test evptests.txt'
doctor> #   at ../test/recipes/30-test_evp.t line 11.
doctor> # Looks like you failed 1 test of 1.
doctor> ../test/recipes/30-test_evp.t ............. Dubious, test returned 1 (wstat 256, 0x100)
doctor> Failed 1/1 subtests
doctor> ../test/recipes/30-test_evp_extra.t ....... 1/1
doctor> #   Failed test 'running evp_extra_test'
doctor> #   at ../test/recipes/30-test_evp_extra.t line 11.
doctor> # Looks like you failed 1 test of 1.
doctor> ../test/recipes/30-test_evp_extra.t ....... Dubious, test returned 1 (wstat 256, 0x100)
doctor> Failed 1/1 subtests
doctor> ../test/recipes/30-test_pbelu.t ........... ok
doctor> ../test/recipes/40-test_rehash.t .......... 4/5
doctor> #   Failed test 'Testing that we aren't running as a priviledged user, such as root'
doctor> #   at ../test/recipes/40-test_rehash.t line 41.
doctor> # Looks like you failed 1 test of 5.
doctor> ../test/recipes/40-test_rehash.t .......... Dubious, test returned 1 (wstat 256, 0x100)
doctor> Failed 1/5 subtests
doctor>         (less 1 skipped subtest: 3 okay)
doctor> ../test/recipes/70-test_clienthello.t ..... 1/1
doctor> #   Failed test 'running clienthellotest'
doctor> #   at ../test/testlib/OpenSSL/Test/Simple.pm line 64.
doctor> # Looks like you failed 1 test of 1.
doctor> ../test/recipes/70-test_clienthello.t ..... Dubious, test returned 1 (wstat 256, 0x100)
doctor> Failed 1/1 subtests
doctor> ../test/recipes/70-test_packet.t .......... 1/1
doctor> #   Failed test 'running packettest'
doctor> #   at ../test/testlib/OpenSSL/Test/Simple.pm line 64.
doctor> # Looks like you failed 1 test of 1.
doctor> ../test/recipes/70-test_packet.t .......... Dubious, test returned 1 (wstat 256, 0x100)
doctor> Failed 1/1 subtests
doctor> ../test/recipes/70-test_sslcertstatus.t ... ok
doctor> ../test/recipes/70-test_sslextension.t .... ok
doctor> ../test/recipes/70-test_sslsessiontick.t .. ok
doctor> ../test/recipes/70-test_sslskewith0p.t .... ok
doctor> ../test/recipes/70-test_sslvertol.t ....... ok
doctor> ../test/recipes/70-test_tlsextms.t ........ ok
doctor> ../test/recipes/70-test_verify_extra.t .... ok
doctor> ../test/recipes/80-test_ca.t .............. ok
doctor> ../test/recipes/80-test_cms.t .............
doctor>     #   Failed test 'enveloped content test streaming S/MIME format, 3 recipients'
doctor>     #   at ../test/recipes/80-test_cms.t line 376.
doctor> 
doctor>     #   Failed test 'enveloped content test streaming S/MIME format, 3 recipients, 3rd used'
doctor>     #   at ../test/recipes/80-test_cms.t line 376.
doctor> 
doctor>     #   Failed test 'enveloped content test streaming S/MIME format, 3 recipients, key only used'
doctor>     #   at ../test/recipes/80-test_cms.t line 376.
doctor> 
doctor>     #   Failed test 'enveloped content test streaming S/MIME format, AES-256 cipher, 3 recipients'
doctor>     #   at ../test/recipes/80-test_cms.t line 376.
doctor>     # Looks like you failed 4 tests of 15.
doctor> ../test/recipes/80-test_cms.t ............. 1/4
doctor> #   Failed test 'CMS => PKCS\#7 compatibility tests
doctor> # '
doctor> #   at ../test/recipes/80-test_cms.t line 381.
doctor> 
doctor>     #   Failed test 'enveloped content test streaming S/MIME format, 3 recipients'
doctor>     #   at ../test/recipes/80-test_cms.t line 391.
doctor> 
doctor>     #   Failed test 'enveloped content test streaming S/MIME format, 3 recipients, 3rd used'
doctor>     #   at ../test/recipes/80-test_cms.t line 391.
doctor> 
doctor>     #   Failed test 'enveloped content test streaming S/MIME format, 3 recipients, key only used'
doctor>     #   at ../test/recipes/80-test_cms.t line 391.
doctor> 
doctor>     #   Failed test 'enveloped content test streaming S/MIME format, AES-256 cipher, 3 recipients'
doctor>     #   at ../test/recipes/80-test_cms.t line 391.
doctor>     # Looks like you failed 4 tests of 15.
doctor> ../test/recipes/80-test_cms.t ............. 2/4
doctor> #   Failed test 'CMS <= PKCS\#7 compatibility tests
doctor> # '
doctor> #   at ../test/recipes/80-test_cms.t line 396.
doctor> 
doctor>     #   Failed test 'enveloped content test streaming S/MIME format, 3 recipients'
doctor>     #   at ../test/recipes/80-test_cms.t line 407.
doctor> 
doctor>     #   Failed test 'enveloped content test streaming S/MIME format, 3 recipients, 3rd used'
doctor>     #   at ../test/recipes/80-test_cms.t line 407.
doctor> 
doctor>     #   Failed test 'enveloped content test streaming S/MIME format, 3 recipients, key only used'
doctor>     #   at ../test/recipes/80-test_cms.t line 407.
doctor> 
doctor>     #   Failed test 'enveloped content test streaming S/MIME format, AES-256 cipher, 3 recipients'
doctor>     #   at ../test/recipes/80-test_cms.t line 407.
doctor> 
doctor>     #   Failed test 'signed receipt MIME format, RSA key'
doctor>     #   at ../test/recipes/80-test_cms.t line 418.
doctor> 
doctor>     #   Failed test 'enveloped content test streaming S/MIME format, 3 recipients, keyid'
doctor>     #   at ../test/recipes/80-test_cms.t line 418.
doctor> 
doctor>     #   Failed test 'enveloped content test streaming PEM format, KEK'
doctor>     #   at ../test/recipes/80-test_cms.t line 418.
doctor> 
doctor>     #   Failed test 'enveloped content test streaming PEM format, KEK, key only'
doctor>     #   at ../test/recipes/80-test_cms.t line 418.
doctor> 
doctor>     #   Failed test 'encrypted content test streaming PEM format, 128 bit RC2 key'
doctor>     #   at ../test/recipes/80-test_cms.t line 418.
doctor> 
doctor>     #   Failed test 'encrypted content test streaming PEM format, 40 bit RC2 key'
doctor>     #   at ../test/recipes/80-test_cms.t line 418.
doctor> 
doctor>     #   Failed test 'encrypted content test streaming PEM format, triple DES key'
doctor>     #   at ../test/recipes/80-test_cms.t line 418.
doctor> 
doctor>     #   Failed test 'encrypted content test streaming PEM format, 128 bit AES key'
doctor>     #   at ../test/recipes/80-test_cms.t line 418.
doctor>     # Looks like you failed 12 tests of 27.
doctor> ../test/recipes/80-test_cms.t ............. 3/4
doctor> #   Failed test 'CMS <=> CMS consistency tests
doctor> # '
doctor> #   at ../test/recipes/80-test_cms.t line 423.
doctor> 
doctor>     #   Failed test 'enveloped content test streaming S/MIME format, OAEP default parameters'
doctor>     #   at ../test/recipes/80-test_cms.t line 435.
doctor> 
doctor>     #   Failed test 'enveloped content test streaming S/MIME format, OAEP SHA256'
doctor>     #   at ../test/recipes/80-test_cms.t line 435.
doctor> 
doctor>     #   Failed test 'enveloped content test streaming S/MIME format, ECDH'
doctor>     #   at ../test/recipes/80-test_cms.t line 435.
doctor> 
doctor>     #   Failed test 'enveloped content test streaming S/MIME format, ECDH, key identifier'
doctor>     #   at ../test/recipes/80-test_cms.t line 435.
doctor> 
doctor>     #   Failed test 'enveloped content test streaming S/MIME format, ECDH, AES128, SHA256 KDF'
doctor>     #   at ../test/recipes/80-test_cms.t line 435.
doctor> 
doctor>     #   Failed test 'enveloped content test streaming S/MIME format, ECDH, K-283, cofactor DH'
doctor>     #   at ../test/recipes/80-test_cms.t line 435.
doctor> 
doctor>     #   Failed test 'enveloped content test streaming S/MIME format, X9.42 DH'
doctor>     #   at ../test/recipes/80-test_cms.t line 435.
doctor>     # Looks like you failed 7 tests of 11.
doctor> ../test/recipes/80-test_cms.t ............. 4/4
doctor> #   Failed test 'CMS <=> CMS consistency tests, modified key parameters
doctor> # '
doctor> #   at ../test/recipes/80-test_cms.t line 458.
doctor> # Looks like you failed 4 tests of 4.
doctor> ../test/recipes/80-test_cms.t ............. Dubious, test returned 4 (wstat 1024, 0x400)
doctor> Failed 4/4 subtests
doctor> ../test/recipes/80-test_dane.t ............ ok
doctor> ../test/recipes/80-test_ocsp.t ............ ok
doctor> ../test/recipes/80-test_ssl.t ............. ok
doctor> ../test/recipes/80-test_tsa.t ............. 1/20
doctor> #   Failed test 'creating a new CA for the TSA tests'
doctor> #   at ../test/recipes/80-test_tsa.t line 84.
doctor> # Looks like you failed 1 test of 20.
doctor> ../test/recipes/80-test_tsa.t ............. Dubious, test returned 1 (wstat 256, 0x100)
doctor> Failed 1/20 subtests
doctor>         (less 19 skipped subtests: 0 okay)
doctor> ../test/recipes/90-test_async.t ........... ok
doctor> ../test/recipes/90-test_constant_time.t ... ok
doctor> ../test/recipes/90-test_gmdiff.t .......... ok
doctor> ../test/recipes/90-test_gost2814789.t .....
doctor> #   Failed test 'running gost2814789test'
doctor> #   at ../test/recipes/90-test_gost2814789.t line 13.
doctor> # Looks like you failed 1 test of 1.
doctor> ../test/recipes/90-test_gost2814789.t ..... Dubious, test returned 1 (wstat 256, 0x100)
doctor> Failed 1/1 subtests
doctor> ../test/recipes/90-test_heartbeat.t ....... 1/1
doctor> #   Failed test 'running heartbeat_test'
doctor> #   at ../test/testlib/OpenSSL/Test/Simple.pm line 64.
doctor> # Looks like you failed 1 test of 1.
doctor> ../test/recipes/90-test_heartbeat.t ....... Dubious, test returned 1 (wstat 256, 0x100)
doctor> Failed 1/1 subtests
doctor> ../test/recipes/90-test_ige.t ............. ok
doctor> ../test/recipes/90-test_jpake.t ........... ok
doctor> ../test/recipes/90-test_memleak.t ......... ok
doctor> ../test/recipes/90-test_np.t .............. ok
doctor> ../test/recipes/90-test_p5_crpt2.t ........ ok
doctor> ../test/recipes/90-test_secmem.t .......... ok
doctor> ../test/recipes/90-test_srp.t ............. 1/1
doctor> #   Failed test 'running srptest'
doctor> #   at ../test/testlib/OpenSSL/Test/Simple.pm line 64.
doctor> # Looks like you failed 1 test of 1.
doctor> ../test/recipes/90-test_srp.t ............. Dubious, test returned 1 (wstat 256, 0x100)
doctor> Failed 1/1 subtests
doctor> ../test/recipes/90-test_v3name.t .......... ok
doctor> 
doctor> Test Summary Report
doctor> -------------------
doctor> ../test/recipes/05-test_rand.t          (Wstat: 256 Tests: 1 Failed: 1)
doctor>   Failed test:  1
doctor>   Non-zero exit status: 1
doctor> ../test/recipes/20-test_enc.t           (Wstat: 31744 Tests: 129 Failed: 124)
doctor>   Failed tests:  2-13, 16-127
doctor>   Non-zero exit status: 124
doctor> ../test/recipes/30-test_evp.t           (Wstat: 256 Tests: 1 Failed: 1)
doctor>   Failed test:  1
doctor>   Non-zero exit status: 1
doctor> ../test/recipes/30-test_evp_extra.t     (Wstat: 256 Tests: 1 Failed: 1)
doctor>   Failed test:  1
doctor>   Non-zero exit status: 1
doctor> ../test/recipes/40-test_rehash.t        (Wstat: 256 Tests: 5 Failed: 1)
doctor>   Failed test:  4
doctor>   Non-zero exit status: 1
doctor> ../test/recipes/70-test_clienthello.t   (Wstat: 256 Tests: 1 Failed: 1)
doctor>   Failed test:  1
doctor>   Non-zero exit status: 1
doctor> ../test/recipes/70-test_packet.t        (Wstat: 256 Tests: 1 Failed: 1)
doctor>   Failed test:  1
doctor>   Non-zero exit status: 1
doctor> ../test/recipes/80-test_cms.t           (Wstat: 1024 Tests: 4 Failed: 4)
doctor>   Failed tests:  1-4
doctor>   Non-zero exit status: 4
doctor> ../test/recipes/80-test_tsa.t           (Wstat: 256 Tests: 20 Failed: 1)
doctor>   Failed test:  1
doctor>   Non-zero exit status: 1
doctor> ../test/recipes/90-test_gost2814789.t   (Wstat: 256 Tests: 0 Failed: 0)
doctor>   Non-zero exit status: 1
doctor>   Parse errors: Bad plan.  You planned 1 tests but ran 0.
doctor> ../test/recipes/90-test_heartbeat.t     (Wstat: 256 Tests: 1 Failed: 1)
doctor>   Failed test:  1
doctor>   Non-zero exit status: 1
doctor> ../test/recipes/90-test_srp.t           (Wstat: 256 Tests: 1 Failed: 1)
doctor>   Failed test:  1
doctor>   Non-zero exit status: 1
doctor> Files=69, Tests=364, 496 wallclock secs ( 3.18 usr  3.97 sys + 224.77 cusr 140.63 csys = 372.55 CPU)
doctor> Result: FAIL
doctor> Failed 12/69 test programs. 137/364 subtests failed.
doctor> *** Error code 255
doctor> 
doctor> Stop.
doctor> *** Error code 1
doctor> 
doctor> Stop.                                                                 
doctor> 
doctor> Any concerns?

Not sure what the team's stand is on BSD/OS, but that looks like a
lot.  A tip here, most of the tests generates log files, you'll find
them all in test/, named like the tests themselves but without the
indexing number, so for example, test/recipes/20-test_enc.t generates
test/test_enc.log.  They might shed some light on what's going on.

Cheers,
Richard

-- 
Richard Levitte         levitte at openssl.org
OpenSSL Project         http://www.openssl.org/~levitte/


More information about the openssl-dev mailing list