[openssl-dev] Openssl-SNAP-20160315 issue Re: Openssl-SNAP-20160314 Re: Openssl SNAP 20160313 issue Re: OPenSSL SNAP 20160312 issue

Richard Levitte levitte at openssl.org
Wed Mar 16 19:09:15 UTC 2016


In message <20160316182629.GA10733 at doctor.nl2k.ab.ca> on Wed, 16 Mar 2016 12:26:29 -0600, The Doctor <doctor at doctor.nl2k.ab.ca> said:

doctor> On Tue, Mar 15, 2016 at 10:13:50PM +0100, Richard Levitte wrote:
doctor> > In message <20160315205022.GA26917 at doctor.nl2k.ab.ca> on Tue, 15 Mar 2016 14:50:22 -0600, The Doctor <doctor at doctor.nl2k.ab.ca> said:
doctor> > doctor> perl -i -pe 's/^.*\|//; s/ \/(\\.|[^ ])*//;               # $_ = undef if (/: *$/ || /^(#.*| *)$/); # $_.="\n" unless !defined($_) or /\R$/g;' crypto/aes/aes_cfb.d.tmp    
doctor> > 
doctor> > Actually, that perl line explained the issue just fine.  Thanks, I
doctor> > know how to resolve this.
doctor> >
doctor> Just looked atthe Makefile.
doctor> 
doctor> May I suggest instead of using perl, use -${PERL} instead.

Good idea, I'll fix that.

doctor> When I did a symbolic like to perl, that worked
doctor> 
doctor> Also  from my non-root account
doctor> 
doctor> HARNESS_VERBOSE=yes make tests TESTS='test_evp test_packet test_cms'           
doctor> 
doctor> yielded
doctor> 
doctor> ../test/recipes/30-test_evp.t .....
doctor> 1..1
doctor> Test line 2548: unexpected error KEY_MISMATCH
doctor> Expected: 77D6576238657B203B19CA42C18A0497F16B4844E3074AE8DFDFFA3FEDE21442FCD0069DED0948F8326A753A0FC81F17E8D3E0FB2E0D3628CF35E20C38D18906
doctor> Got:      1E206D019AE5CD5575A1CD9BD56AF7AF094ACC8A903E163BF22A417CC7073B7B864FE17944690473DBED7E2FAA5A42069150BE9FF727AC1A251E04E52537B961
doctor> Test line 2556: unexpected error KEY_MISMATCH
doctor> Expected: FDBABE1C9D3472007856E7190D01E9FE7C6AD7CBC8237830E77376634B3731622EAF30D92E22A3886FF109279D9830DAC727AFB94A83EE6D8360CBDFA2CC0640
doctor> Got:      4D0B8D57109EF588586B7812B70CD2FBD4DDE5F9AD1E45A17C565E24FE247DE986CA22CFDFF6C64346C62436F301EAE987A0E424B080EACB04E70830C3B9ACE0
doctor> Test line 2564: unexpected error KEY_MISMATCH
doctor> Expected: 7023BDCB3AFD7348461C06CD81FD38EBFDA8FBBA904F8E3EA9B543F6545DA1F2D5432955613F0FCF62D49705242A9AF9E61E85DC0D651E40DFCF017B45575887
doctor> Got:      BF7268686B9059DAA738213780F8EEE8BC2FDD65D50DE1298B5ED2142040DB72E0CC5C6649C682EB8BC998A70D1CA8BCB73FF7367C1027403201F663239520D6
doctor> 480 tests completed with 3 errors, 0 skipped
doctor> not ok 1 - running evp_test evptests.txt
doctor> 
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> Dubious, test returned 1 (wstat 256, 0x100)
doctor> Failed 1/1 subtests
doctor> ../test/recipes/70-test_packet.t ..
doctor> 1..1
doctor> test_PACKET_buf_init() failed
doctor> not ok 1 - running packettest
doctor> 
doctor> #   Failed test 'running packettest'
doctor> #   at ../test/testlib/OpenSSL/Test/Simple.pm line 70.
doctor> # Looks like you failed 1 test of 1.
doctor> Dubious, test returned 1 (wstat 256, 0x100)
doctor> Failed 1/1 subtests
doctor> ../test/recipes/80-test_cms.t .....
doctor> 1..4
doctor>     1..15
doctor> Verification successful
doctor>     ok 1 - signed content DER format, RSA key
doctor> Verification successful
doctor>     ok 2 - signed detached content DER format, RSA key
doctor> Verification successful
doctor>     ok 3 - signed content test streaming BER format, RSA
doctor> Verification successful
doctor>     ok 4 - signed content DER format, DSA key
doctor> Verification successful
doctor>     ok 5 - signed detached content DER format, DSA key
doctor> Verification successful
doctor>     ok 6 - signed detached content DER format, add RSA signer
doctor> Verification successful
doctor>     ok 7 - signed content test streaming BER format, DSA key
doctor> Verification successful
doctor>     ok 8 - signed content test streaming BER format, 2 DSA and 2 RSA keys
doctor> Verification successful
doctor>     ok 9 - signed content test streaming BER format, 2 DSA and 2 RSA keys, no attributes
doctor> Verification successful
doctor>     ok 10 - signed content test streaming S/MIME format, 2 DSA and 2 RSA keys
doctor> Verification successful
doctor>     ok 11 - signed content test streaming multipart S/MIME format, 2 DSA and 2 RSA keys
doctor>     ok 12 - enveloped content test streaming S/MIME format, 3 recipients
doctor>     ok 13 - enveloped content test streaming S/MIME format, 3 recipients, 3rd used
doctor>     ok 14 - enveloped content test streaming S/MIME format, 3 recipients, key only used
doctor>     ok 15 - enveloped content test streaming S/MIME format, AES-256 cipher, 3 recipients
doctor> ok 1 - CMS => PKCS\#7 compatibility tests
doctor> #
doctor>     1..15
doctor> Verification successful
doctor>     ok 1 - signed content DER format, RSA key
doctor> Verification successful
doctor>     ok 2 - signed detached content DER format, RSA key
doctor> Verification successful
doctor>     ok 3 - signed content test streaming BER format, RSA
doctor> Verification successful
doctor>     ok 4 - signed content DER format, DSA key
doctor> Verification successful
doctor>     ok 5 - signed detached content DER format, DSA key
doctor> Verification successful
doctor>     ok 6 - signed detached content DER format, add RSA signer
doctor> Verification successful
doctor>     ok 7 - signed content test streaming BER format, DSA key
doctor> Verification successful
doctor>     ok 8 - signed content test streaming BER format, 2 DSA and 2 RSA keys
doctor> Verification successful
doctor>     ok 9 - signed content test streaming BER format, 2 DSA and 2 RSA keys, no attributes
doctor> Verification successful
doctor>     ok 10 - signed content test streaming S/MIME format, 2 DSA and 2 RSA keys
doctor> Verification successful
doctor>     ok 11 - signed content test streaming multipart S/MIME format, 2 DSA and 2 RSA keys
doctor>     ok 12 - enveloped content test streaming S/MIME format, 3 recipients
doctor>     ok 13 - enveloped content test streaming S/MIME format, 3 recipients, 3rd used
doctor>     ok 14 - enveloped content test streaming S/MIME format, 3 recipients, key only used
doctor>     ok 15 - enveloped content test streaming S/MIME format, AES-256 cipher, 3 recipients
doctor> ok 2 - CMS <= PKCS\#7 compatibility tests
doctor> #
doctor>     1..27
doctor> Verification successful
doctor>     ok 1 - signed content DER format, RSA key
doctor> Verification successful
doctor>     ok 2 - signed detached content DER format, RSA key
doctor> Verification successful
doctor>     ok 3 - signed content test streaming BER format, RSA
doctor> Verification successful
doctor>     ok 4 - signed content DER format, DSA key
doctor> Verification successful
doctor>     ok 5 - signed detached content DER format, DSA key
doctor> Verification successful
doctor>     ok 6 - signed detached content DER format, add RSA signer
doctor> Verification successful
doctor>     ok 7 - signed content test streaming BER format, DSA key
doctor> Verification successful
doctor>     ok 8 - signed content test streaming BER format, 2 DSA and 2 RSA keys
doctor> Verification successful
doctor>     ok 9 - signed content test streaming BER format, 2 DSA and 2 RSA keys, no attributes
doctor> Verification successful
doctor>     ok 10 - signed content test streaming S/MIME format, 2 DSA and 2 RSA keys
doctor> Verification successful
doctor>     ok 11 - signed content test streaming multipart S/MIME format, 2 DSA and 2 RSA keys
doctor>     ok 12 - enveloped content test streaming S/MIME format, 3 recipients
doctor>     ok 13 - enveloped content test streaming S/MIME format, 3 recipients, 3rd used
doctor>     ok 14 - enveloped content test streaming S/MIME format, 3 recipients, key only used
doctor>     ok 15 - enveloped content test streaming S/MIME format, AES-256 cipher, 3 recipients
doctor> Verification successful
doctor>     ok 16 - signed content test streaming BER format, 2 DSA and 2 RSA keys, keyid
doctor> Verification successful
doctor>     ok 17 - signed content test streaming PEM format, 2 DSA and 2 RSA keys
doctor> Verification successful
doctor>     ok 18 - signed content MIME format, RSA key, signed receipt request
doctor> Verification successful
doctor>     ok 19 - signed receipt MIME format, RSA key
doctor>     ok 20 - enveloped content test streaming S/MIME format, 3 recipients, keyid
doctor>     ok 21 - enveloped content test streaming PEM format, KEK
doctor>     ok 22 - enveloped content test streaming PEM format, KEK, key only
doctor>     ok 23 - data content test streaming PEM format
doctor>     ok 24 - encrypted content test streaming PEM format, 128 bit RC2 key
doctor>     ok 25 - encrypted content test streaming PEM format, 40 bit RC2 key
doctor>     ok 26 - encrypted content test streaming PEM format, triple DES key
doctor>     ok 27 - encrypted content test streaming PEM format, 128 bit AES key
doctor> ok 3 - CMS <=> CMS consistency tests
doctor> #
doctor>     1..11
doctor> Verification successful
doctor>     ok 1 - signed content test streaming PEM format, RSA keys, PSS signature
doctor> Verification successful
doctor>     ok 2 - signed content test streaming PEM format, RSA keys, PSS signature, no attributes
doctor> Verification successful
doctor>     ok 3 - signed content test streaming PEM format, RSA keys, PSS signature, SHA384 MGF1
doctor>     ok 4 - enveloped content test streaming S/MIME format, OAEP default parameters
doctor>     ok 5 - enveloped content test streaming S/MIME format, OAEP SHA256
doctor>     ok 6 - enveloped content test streaming S/MIME format, ECDH
doctor>     ok 7 - enveloped content test streaming S/MIME format, ECDH, key identifier
doctor>     ok 8 - enveloped content test streaming S/MIME format, ECDH, AES128, SHA256 KDF
doctor>     ok 9 - enveloped content test streaming S/MIME format, ECDH, K-283, cofactor DH
doctor>     ok 10 - enveloped content test streaming S/MIME format, X9.42 DH
doctor> Error creating CMS structure
doctor> 135045376:error:2E068097:CMS routines:CMS_compress:unsupported compression algorithm:crypto/cms/cms_smime.c:879:
doctor>     not ok 11 - compressed content test streaming PEM format
doctor> 
doctor>     #   Failed test 'compressed content test streaming PEM format'
doctor>     #   at ../test/recipes/80-test_cms.t line 452.
doctor>     # Looks like you failed 1 test of 11.
doctor> not ok 4 - CMS <=> CMS consistency tests, modified key parameters
doctor> #
doctor> 
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 1 test of 4.
doctor> Dubious, test returned 1 (wstat 256, 0x100)
doctor> Failed 1/4 subtests
doctor> 
doctor> Test Summary Report
doctor> -------------------
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/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: 256 Tests: 4 Failed: 1)
doctor>   Failed test:  4
doctor>   Non-zero exit status: 1
doctor> Files=3, Tests=6, 24 wallclock secs ( 0.15 usr  0.08 sys + 12.15 cusr 15.10 csys = 27.48 CPU)
doctor> Result: FAIL
doctor> Failed 3/3 test programs. 3/6 subtests failed.
doctor> *** Error code 1
doctor> 
doctor> Stop.                                              
doctor> 
doctor> The rest was fine.

Would you mind submitting an email about these failures to
rt at openssl.org?

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


More information about the openssl-dev mailing list