syntax error in generated asm for sha1 (0.9.8h)

2008-06-25 Thread Pierre Joye
Hello,

I'm new to the list and did not find a better place to report bugs.
Please point me to the right place if this mailing list should be used
for bug reports.

While building the new binaries to be used by PHP windows releases, I
got a syntax error in s1_win32.asm (generated by sha1-586.pl).

Generated code:
TITLE   sha1-586.asm
.486
.model  FLAT
_TEXT$  SEGMENT PAGE 'CODE'

PUBLIC  _sha1_block_data_order
16
_sha1_block_data_order PROC NEAR


The 16 is obviously causing the error. I tried to figure (quicly)
what's wrong in the script but perl can be sometimes more cryptic than
the generated asm ;)

Thanks for your fantastic work on openssl!

Cheers,
-- 
Pierre

http://blog.thepimp.net | http://www.libgd.org
__
OpenSSL Project http://www.openssl.org
Development Mailing List   openssl-dev@openssl.org
Automated List Manager   [EMAIL PROTECTED]


Re: syntax error in generated asm for sha1 (0.9.8h)

2008-06-25 Thread Mounir IDRASSI
Hi,

This error has been already reported and I indicated how to solve it : in
the file x86ms.pl, the line 273 containing $extra should be removed.
Please refer to the following link :

http://www.mail-archive.com/openssl-dev@openssl.org/msg24059.html

Cheers,

-- 
Mounir IDRASSI
IDRIX
http://www.idrix.fr

On Wed, June 25, 2008 2:43 pm, Pierre Joye wrote:
 Hello,

 I'm new to the list and did not find a better place to report bugs.
 Please point me to the right place if this mailing list should be used
 for bug reports.

 While building the new binaries to be used by PHP windows releases, I
 got a syntax error in s1_win32.asm (generated by sha1-586.pl).

 Generated code:
   TITLE   sha1-586.asm
 .486
 .modelFLAT
 _TEXT$SEGMENT PAGE 'CODE'

 PUBLIC_sha1_block_data_order
 16
 _sha1_block_data_order PROC NEAR


 The 16 is obviously causing the error. I tried to figure (quicly)
 what's wrong in the script but perl can be sometimes more cryptic than
 the generated asm ;)

 Thanks for your fantastic work on openssl!

 Cheers,
 --
 Pierre

 http://blog.thepimp.net | http://www.libgd.org
 __
 OpenSSL Project http://www.openssl.org
 Development Mailing List   openssl-dev@openssl.org
 Automated List Manager   [EMAIL PROTECTED]


__
OpenSSL Project http://www.openssl.org
Development Mailing List   openssl-dev@openssl.org
Automated List Manager   [EMAIL PROTECTED]


Bag Attributes Ignored

2008-06-25 Thread Hacker SF

Hello to all,
 
I've been trying to add bag attributes to a PKCS12 certificate using openssl 
pkcs12 command (eg, openssl pkcs12 -export -in cert1.pem -CSP ... -LMK -out 
cert1.p12).
All my attempts were unsuccessful. I've got openssl 0.9.8e patched and no 
errors during compiling/building (using mingw).
 
This is the patch I've applied:
http://www.cs.bham.ac.uk/~smp/resources/peap/patches/openssl-0.9.8e-patch.txt
 
I've updated obj_dat.h and related files.
 
Everything is fine here.
 
Then, I generate a PKCS12 file. No problems here.
 
However, when I type in the following command:
 openssl pkcs12 -in cert1.p12 -info
 
only CSP name bag attribute is shown. No LocalKeySet bag attribute. It's like 
it's being ignored by OpenSSL. I try to generate an PEAP certificate.
 
If anyone can help me out here I'd be very much grateful.
 
I look forward to hearing from you soon.
 
Sergio.
_
Are you paid what you're worth? Find out: SEEK Salary Centre
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fninemsn%2Eseek%2Ecom%2Eau%2Fcareer%2Dresources%2Fsalary%2Dcentre%2F%3Ftracking%3Dsk%3Ahet%3Asc%3Anine%3A0%3Ahot%3Atext_t=764565661_r=OCT07_endtext_salary_m=EXT