[openssl.org #1691] [PATCH] Enable setting CC and AR with environment vars

2008-06-03 Thread Hanno Boeck via RT
This patch allows the Configure script to detect the ar and cc command via environment variables. Taken from Gentoo package. Please apply. -- Hanno Böck Blog: http://www.hboeck.de/ GPG: 3DBD3B20 Jabber/Mail:[EMAIL PROTECTED] --- Configure +++ Configure @@

OpenSSL 0.9.8f status byte in version number

2008-06-03 Thread dan_mitton
It seems like OpenSSL version 0.9.8f was released with the version 'status' byte set to '0' (i.e. development), rather then 'f', for release... In crypto/opensslv.h . . . #define OPENSSL_VERSION_NUMBER 0x00908070L . . . Dan [EMAIL PROTECTED]

[openssl.org #1690] BN_GF2m_mod_arr() infinite loop

2008-06-03 Thread Huang, Ying via RT
The following code will make BN_GF2m_mod_arr() into infinite loop. int main(int argc, char *argv[]) { BIGNUM *bn = NULL, *res = NULL, *p = NULL; BN_hex2bn(bn3, 448692853686179295b477565726f6e5d); BN_hex2bn(p, 10087); res = BN_new();

Re: [openssl.org #1689] EC_KEY_generate_key problem

2008-06-03 Thread Sendroiu Eugen
If this is all your code than you need than you need to load the algorithms before you use this - OpenSSL_add_all_ciphers();. If you call this function before than try ERR_print_errors and see what you get. == Eugen Sendroiu Address: str. Horia nr 3, bl a8, sc

Re: [openssl.org #1684] bug: name collision with Windows SDK

2008-06-03 Thread Roumen Petrov
[EMAIL PROTECTED] wrote: - typedef struct ocsp_response_st OCSP_RESPONSE; within openssl/ossl_typ.h collides with #define OCSP_RESPONSE ((LPCSTR) 67) within WinCrypt.h, a windows header file (Microsoft Windows SDK 6.0A). There are work-arounds, but the compiler errors led to a few

[openssl.org #1692] [PATCH] allow setting make command via env var

2008-06-03 Thread Hanno Boeck via RT
Taken from Gentoo Linux, please apply. -- Hanno Böck Blog: http://www.hboeck.de/ GPG: 3DBD3B20 Jabber/Mail:[EMAIL PROTECTED] respect $MAKE if it is set in the environment so we don't get a mix of the host `make` and whatever $MAKE is set to when recursing

Re: [CVS] OpenSSL: openssl/apps/ ca.c

2008-06-03 Thread Ben Laurie
Bodo Moeller wrote: On Mon, Jun 2, 2008 at 12:47 PM, Dr. Stephen Henson [EMAIL PROTECTED] wrote: On Sun, Jun 01, 2008, Ben Laurie wrote: Stop const mismatch warning. - else if (index_name_cmp(row,rrow)) + else if (index_name_cmp((const CSTRING *)row,(const CSTRING *)rrow))

[openssl.org #1689] EC_KEY_generate_key problem

2008-06-03 Thread Durbin Francesco via RT
Dear sirs, I wanted to know...what could prevent this instruction to do its purpose.. I'm trying to generate the ECC key with: EC_KEY *eckey = EC_KEY_new(); if (eckey == NULL) { printf(key is null\n); } int x; if (!(x=EC_KEY_generate_key(eckey))) { printf(EC key not

[openssl.org #1693] Compiling OpenSSL with mingw-w64

2008-06-03 Thread [EMAIL PROTECTED] via RT
Hi, I just tried to compile OpenSSL-0.9.8h with mingw-w64 (see http://sourceforge.net/projects/mingw-w64/) and needed a couple of changes to the source code (see attached patch). Some notes: - I added a mingw64 line to Configure and (think I) told it to use .exe extension for

SSL_shutdown nonblocking behavior

2008-06-03 Thread Thor Lancelot Simon
As has been discussed several times in (at least) the past two years, there's a serious problem with SSL_shutdown() for nonblocking connections: it discards the underlying BIO's WANT_READ/WANT_WRITE information so that the calling application cannot know in which direction it must wait for I/O; so

Re: [openssl.org #1693] [Mingw-w64-public] Compiling OpenSSL with mingw-w64

2008-06-03 Thread FX via RT
- I added a mingw64 line to Configure and (think I) told it to use .exe extension for compiling. Nothing surprising here, I think. Note that you currently need to Configure mingw64 no-asm no-hw. IIUC, the current position on naming is that mingw64 shouldn't be used, but rather the full

Re: [openssl.org #1693] [Mingw-w64-public] Compiling OpenSSL with mingw-w64

2008-06-03 Thread Kai Tietz via RT
Hi Stefan, FX, - I added a mingw64 line to Configure and (think I) told it to use .exe extension for compiling. Nothing surprising here, I think. Note that you currently need to Configure mingw64 no-asm no-hw. IIUC, the current position on naming is that mingw64 shouldn't be

Re: [openssl.org #1693] [Mingw-w64-public] Compiling OpenSSL with mingw-w64

2008-06-03 Thread Kai Tietz via RT
Hi Stefan, Hi, I just tried to compile OpenSSL-0.9.8h with mingw-w64 (see http://sourceforge.net/projects/mingw-w64/) and needed a couple of changes to the source code (see attached patch). Some notes: - I added a mingw64 line to Configure and (think I) told it to use

Re: SSL_shutdown nonblocking behavior

2008-06-03 Thread Geoff Thorpe
A quick skim of this patch seems to indicate that it makes sense, though the litmus test will be to get some kind of regression coverage. Eg. do connections get left dangling in any common scenarios? BTW, I note that the patch is against 0.9.8b, that's ... umm ... *old*. Could you please regen

[openssl.org #1694] OpenSSL 0.9.8h bug: Configure has illegal -X 64, should be -X64

2008-06-03 Thread Tippa Dogi via RT
Hi, in Configure, line 415, we see AR option -X 64. There should not be space, so correct one is -X64. But perhaps many users use OBJECT_MODE=64 commandline argument they do not see anything wrong. Could you please correct this, thanks. 415c415 aix64-cc, cc:-q64 -O -DB_ENDIAN -qmaxmem=16384

Re: [CVS] OpenSSL: openssl/apps/ ca.c

2008-06-03 Thread Kurt Roeckx
On Mon, Jun 02, 2008 at 01:54:28PM +0100, Ben Laurie wrote: Bodo Moeller wrote: On Mon, Jun 2, 2008 at 12:47 PM, Dr. Stephen Henson [EMAIL PROTECTED] wrote: On Sun, Jun 01, 2008, Ben Laurie wrote: Stop const mismatch warning. - else if (index_name_cmp(row,rrow)) + else if

lh_test.c build failure

2008-06-03 Thread Gisle Vanem
Suddenly crypto/lhash/lh_test.c no longer compiles. From todays snapshot (on MingW): crypto/lhash/lh_test.c:65: warning: return type defaults to `int' crypto/lhash/lh_test.c: In function `main': crypto/lhash/lh_test.c:66: error: `LHASH' undeclared (first use in this function)

Re: SSL_shutdown nonblocking behavior

2008-06-03 Thread Darryl Miles
Thor Lancelot Simon wrote: Darryl (who wrote the patch) has a set of regression tests for nonblocking operation with OpenSSL. He posted about it here way back in 2006 when he originally pointed out this problem. It's kind of hard to figure out which message in some of these old, old mailing

Re: [PATCH] Fix parallel build

2008-06-03 Thread Gilles Espinasse
- Original Message - From: Daniel Black [EMAIL PROTECTED] To: openssl-dev@openssl.org Sent: Saturday, May 31, 2008 4:08 PM Subject: Re: [PATCH] Fix parallel build On Sat, 31 May 2008 07:13:32 pm Hanno Böck wrote: This patch adds some dependencies to the Makefile targets to allow