[openssl.org #1429] SHA256 bug?
Hi, First of all, thanks for the great code. I have this weird problem. When I run SHA256 to generate digest, if the message has two or more '0's, the result is not correct. If you look at the below test result, you can see that for test case 868 the expect result, which is generated from the library is wrong. I also confirmed when I run the program standalone. I use the latest openssl-0.9.8d on redhat linux. This problem should be easy to duplicate. 865 : a7fce44f3f1a9b7e7a0b1bf463bea3c72ebfe95d152e132a5e8e23bd0f99cb1f de227690_a3ae5485_f11f9033_86954641_df5f75a4_9ba51b9a_b9ab1e3e_d518576c 866 : 1556a72a20ee3f41b522406a080be910f32688e6310e99629ccdc039c2fbda85 9970b4e5_7ba7417a_638396b2_ea11aed2_d6f7838a_b28a83b4_257cb188_20e6052b 867 : c739ba8e30f05b61be79b07c64a43dc92a6b2b5491de84239dfdda3b422f6b84 a038a86c_b9c837d2_d6473b10_d8f3d991_591548f0_f4e37288_692c3f5e_547772b2 868 : d25282a41e09cf3c59eccdb3d41380a850f031a13144b762a61fd04c742e5be8 -- message a9a0306d_5cede85e_6b00____2000_0103 -- wrong read: 6b002162, expect: 6b00 read: 6ea779ea, expect: read: eb241440, expect: read: e0fd546a, expect: read: 471d670b, expect: 2000 read: f893c309, expect: 0103 Thanks! Wenfang __ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager [EMAIL PROTECTED]
Re: [PATCH] Re: Windows build fail of openssl-SNAP-20061114
On Thu, Nov 16, 2006, Simon McMahon wrote: Thanks Victor, I got it by editing libeay32.def but the effect is the same. I also fixed it with the following patch to mkdef.pl --- util/mkdef.pl 2006-06-10 02:01:14.0 +1000 +++ mkdef.pl2006-11-16 09:42:53.0 +1000 @@ -754,6 +754,8 @@ $def .= int i2d_$1_NDEF(void);; } elsif (/^\s*DECLARE_ASN1_SET_OF\s*\(\s*(\w*)\s*\)/) { next; + } elsif (/^\s*IMPLEMENT_ASN1_SET_OF\s*\(\s*(\w*)\s*\)/) { + next; } elsif (/^\s*DECLARE_ASN1_PRINT_FUNCTION\s*\(\s*(\w*)\s*\)/) { $def .= int $1_print_ctx(void);; next; This results in this macro being marked as NOEXIST. Note: its just a copy of the lines above for 'DECLARE_ASN1_SET_OF' which is also an empty macro so I assume they should be handled the same. Should be fixed now. It was a header problem. IMPLEMENT_* macros should never appear in header files. Steve. -- Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage OpenSSL project core developer and freelance consultant. Funding needed! Details on homepage. Homepage: http://www.drh-consultancy.demon.co.uk __ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager [EMAIL PROTECTED]
[openssl.org #1428] s_client -debug doesn't show all certificates in chain
[guest - Fri Nov 17 05:24:37 2006]: If a CA uses intermediary certs that are not distributed in all truststores such as quovadis with mozilla's trust store. Servers do not only transmit leaf certificates, but also intermediary ones. http://httpd.apache.org/docs/2.1/mod/mod_ssl.html#sslcertificatechainfile So, with openssl s_client -connect smtp.privasphere.com:25 -debug -starttls smtp I do see that more than cert is sent: Certificate chain 0 s:/C=CH/ST=ZH/L=Zuerich/O=PrivaSphere AG/OU=Secure Messaging/CN=smtp.privasphere.com i:/C=CH/O=QuoVadis Trustlink Schweiz AG/OU=Issuing Certificate Authority/CN=QV Schweiz ICA 1 s:/C=CH/O=QuoVadis Trustlink Schweiz AG/OU=Issuing Certificate Authority/CN=QV Schweiz ICA i:/C=BM/O=QuoVadis Limited/OU=Root Certification Authority/CN=QuoVadis Root Certification Authority but even with the debug option, only the leaf certificate is shown while I would like also see the others in the chain The documented -showcerts option does that. Steve. __ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager [EMAIL PROTECTED]
[openssl.org #1429]
Sorry, I found out it is my problem. Please ignore my previous email. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of OpenSSL-Bugs Sent: Friday, November 17, 2006 2:06 AM To: Zhang, Wenfang Subject: [openssl.org #1429] AutoReply: SHA256 bug? Greetings, This message has been automatically generated in response to the creation of a trouble ticket regarding: SHA256 bug?, a summary of which appears below. There is no need to reply to this message right now. Your ticket has been assigned an ID of [openssl.org #1429]. Please include the string: [openssl.org #1429] in the subject line of all future correspondence about this issue. To do so, you may reply to this message. Also, please note that all attachments to your message have been stored in the database, but are not included in any outgoing mail. Thank you, - Hi, First of all, thanks for the great code. I have this weird problem. When I run SHA256 to generate digest, if the message has two or more '0's, the result is not correct. If you look at the below test result, you can see that for test case 868 the expect result, which is generated from the library is wrong. I also confirmed when I run the program standalone. I use the latest openssl-0.9.8d on redhat linux. This problem should be easy to duplicate. 865 : a7fce44f3f1a9b7e7a0b1bf463bea3c72ebfe95d152e132a5e8e23bd0f99cb1f de227690_a3ae5485_f11f9033_86954641_df5f75a4_9ba51b9a_b9ab1e3e_d518576c 866 : 1556a72a20ee3f41b522406a080be910f32688e6310e99629ccdc039c2fbda85 9970b4e5_7ba7417a_638396b2_ea11aed2_d6f7838a_b28a83b4_257cb188_20e6052b 867 : c739ba8e30f05b61be79b07c64a43dc92a6b2b5491de84239dfdda3b422f6b84 a038a86c_b9c837d2_d6473b10_d8f3d991_591548f0_f4e37288_692c3f5e_547772b2 868 : d25282a41e09cf3c59eccdb3d41380a850f031a13144b762a61fd04c742e5be8 -- message a9a0306d_5cede85e_6b00____2000_0103 -- wrong read: 6b002162, expect: 6b00 read: 6ea779ea, expect: read: eb241440, expect: read: e0fd546a, expect: read: 471d670b, expect: 2000 read: f893c309, expect: 0103 Thanks! Wenfang __ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager [EMAIL PROTECTED]
Re: [openssl.org #1043] Updated 0.9.7g NetWare Patch for the Contribution page
Hi Walker, Sorry to write you personally. I couldn't get any help in OpenSSL dev forums. Could you help me to resolve Link Error: Undefined symbol: RunningProcess in rand_nw.obj? I do not see any error while comiling and got this when tried to link to my application. I do not see RunningProcess defined in any part of the code. I used Codewarrior to build SSL. I'm almost blocked with this issue. Your respone will be greatly aprecited... Thanks in advance, Regards,any Hem -- This message was sent on behalf of [EMAIL PROTECTED] at openSubscriber.com http://www.opensubscriber.com/message/openssl-dev@openssl.org/1125054.html __ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager [EMAIL PROTECTED]