[openssl.org #1525] ocsp.c doesn't compile for Windows target

2007-05-16 Thread Victor B. Wagner via RT
ocsp.c (as of CVS state of May 15), revision 1.42 doesn't compile for Win32 target either with native MINGW32 or with Linux-hosted cross-compiler. Problem is that include file sys/select.h included on line 71, doesn't exist under Windows. BTW, this file uses macro OPENSSL_SYS_VMS, but doesn't

[PATYCH] typo in crypto/x509/x509_txt.c

2007-05-16 Thread Martin Kraemer
This patch fixes a small typo in 0.9.[89]* Martin -- [EMAIL PROTECTED]| Fujitsu Siemens http://www.fujitsu-siemens.com/imprint.html | 81730 Munich, Germany Index: crypto/x509/x509_txt.c === RCS file:

Re: [openssl.org #1517] [PATCH] Makefile.shared: Link all shared libs with --enable-auto-image-base

2007-05-16 Thread Corinna Vinschen
Hi, On Apr 10 10:51, Corinna Vinschen wrote: On Mar 29 17:24, Corinna Vinschen via RT wrote: Hi, the below patches are supposed to help with an annoying DLL problem on Cygwin. [...] Index: Makefile.shared === RCS

[openssl.org #1516] [PATCH] apps/ocsp.c: Fix non-POSIX #include

2007-05-16 Thread Stephen Henson via RT
I've attempted to reuse the header files in s_client.c which have used similar select() functionality for quite a while. If this still doesn't work properly on all systems I'd suggest using something similar to s_client.c, s_server.c or speed.c Let me know of any problems.

Re: [openssl.org #1516] [PATCH] apps/ocsp.c: Fix non-POSIX #include

2007-05-16 Thread Victor B. Wagner
On 2007.05.16 at 14:20:45 +0200, Stephen Henson via RT wrote: I've attempted to reuse the header files in s_client.c which have used similar select() functionality for quite a while. If this still doesn't work properly on all systems I'd suggest using something similar to s_client.c,

[openssl.org #1526] x86cpuid-elf.s cannot be compiled by Sun assembler on x86

2007-05-16 Thread Victor B. Wagner via RT
In the revision 1.9 of file x86cpuid.pl there appeared block with some setne instructions: -- xor(eax,eax); cpuid (); xor(eax,eax); cmp(ebx,0x756e6547); # Genu setne (LB(eax)); mov(ebp,eax); cmp

ECDSA verify fails when digest is all zeros in 0.9.8e

2007-05-16 Thread dmj2718-09
I'm running OpenSSL 0.9.8e. If I set up an ECDSA verify with EC_KEY_new_by_curve_name(NID_X9_62_prime256v1) and call ECDSA_do_verify with dgst (first arg) an array of all zeros and dgst=1 (second arg), the call fails with error 16. There are two errors in the queue: lib 16 reason 68 location

Writing in BER

2007-05-16 Thread _mikie
Hi All, I searched the archives, but didn't find any hits for what I want. If this has already been discussed, please let me know how to improve my search string. On to my question: I know DER is a subset of BER, so therefore OpenSSL does write to BER, but can we write to any other BER

RE: Writing in BER

2007-05-16 Thread David Schwartz
I searched the archives, but didn't find any hits for what I want. If this has already been discussed, please let me know how to improve my search string. On to my question: I know DER is a subset of BER, so therefore OpenSSL does write to BER, but can we write to any other BER encodings

Re: Writing in BER

2007-05-16 Thread Dr. Stephen Henson
On Wed, May 16, 2007, _mikie wrote: My issue stems from a server expecting an PKCS1 X509 ASN.1 BER encoded public key. I'm currently calling i2d_RSA_PUBKEY() after generating a new RSA object, but the result is in DER encoding and the server does not like it. The code calling this orginally