[openssl.org #1123] 0.9.8-beta6 compile error

2005-06-27 Thread via RT

WinXP, VC6
set OPTS=no-asm no-engine no-krb5 no-hw
Second error (engines directory) still in openssl-SNAP-20050627:
cl /Fotmp32.dbg\e_4758cca.obj  -Iinc32 -Itmp32.dbg /MDd /W3 /WX
/Zi /Yd
/Od /nologo -DOPENSSL_SYSNAME_WIN32 -D_DEBUG -DL_ENDIAN
-DWIN32_LEAN_AND_MEAN -D
DEBUG -DDSO_WIN32 /Fdout32 -DOPENSSL_NO_RC5 -DOPENSSL_NO_MDC2
-DOPENSSL_NO_KRB5
-DOPENSSL_NO_ENGINE -DOPENSSL_NO_HW  -c .\engines\e_4758cca.c
e_4758cca.c
.\engines\e_4758cca.c(62) : fatal error C1083: Cannot open include file:
'openss
l/engine.h': No such file or directory
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.

Sorry for late reply,
Thanks,
-cipo
__
OpenSSL Project http://www.openssl.org
Development Mailing List   openssl-dev@openssl.org
Automated List Manager   [EMAIL PROTECTED]


[openssl.org #1123] 0.9.8-beta6 compile error

2005-06-27 Thread via RT

[guest - Mon Jun 27 11:31:55 2005]:

 WinXP, VC6
 set OPTS=no-asm no-engine no-krb5 no-hw
 Second error (engines directory) still in openssl-SNAP-20050627:
 cl /Fotmp32.dbg\e_4758cca.obj  -Iinc32 -Itmp32.dbg /MDd /W3 /WX
 /Zi /Yd
 /Od /nologo -DOPENSSL_SYSNAME_WIN32 -D_DEBUG -DL_ENDIAN
 -DWIN32_LEAN_AND_MEAN -D
 DEBUG -DDSO_WIN32 /Fdout32 -DOPENSSL_NO_RC5 -DOPENSSL_NO_MDC2
 -DOPENSSL_NO_KRB5
 -DOPENSSL_NO_ENGINE -DOPENSSL_NO_HW  -c .\engines\e_4758cca.c
 e_4758cca.c
 .\engines\e_4758cca.c(62) : fatal error C1083: Cannot open include file:
 'openss
 l/engine.h': No such file or directory
 NMAKE : fatal error U1077: 'cl' : return code '0x2'
 Stop.
 
 Sorry for late reply,
 Thanks,
 -cipo


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


[openssl.org #1140] openssl pkcs12 sefaults on invalid input

2005-06-27 Thread via RT

the attached file is corrupted. Still it might be better 
to handle that than to segfault. Tested on linux 2.6.*/ 
debian sarge with openssl 0.9.8-beta6. 
 
the file password is password. 
 
(gdb) r pkcs12 -in /home/aj/test-trunk.p12 -noout -info 
Starting 
program: /home/aj/opentest/src/openssl-0.9.8-beta6/apps/openssl pkcs12  
-in /home/aj/test-trunk.p12 -noout -info 
Enter Import Password: 
MAC Iteration 2048 
 
Program received signal SIGSEGV, Segmentation fault. 
0xb7ed03a6 in SHA1_Update () 
from /home/aj/opentest/lib/libcrypto.so.0.9.8 
(gdb) bt 
#0  0xb7ed03a6 in SHA1_Update () 
from /home/aj/opentest/lib/libcrypto.so.0.9.8 
(gdb)  
 
 
__
OpenSSL Project http://www.openssl.org
Development Mailing List   openssl-dev@openssl.org
Automated List Manager   [EMAIL PROTECTED]


[openssl.org #1141] E-mail exchange down

2005-06-27 Thread via RT

Can't receive any e-mail
__
OpenSSL Project http://www.openssl.org
Development Mailing List   openssl-dev@openssl.org
Automated List Manager   [EMAIL PROTECTED]


[openssl.org #1142] E-mail exchange down

2005-06-27 Thread via RT

Can't receive any e-mail
__
OpenSSL Project http://www.openssl.org
Development Mailing List   openssl-dev@openssl.org
Automated List Manager   [EMAIL PROTECTED]


Re: windows ce port patches

2005-06-27 Thread Farkas Levente

hi Steven,
sorry for the delay i was on vacation:-)
of course i use you wcecompat lib at the first place, but i've to modify
it a bit. first the makefiles to update to the current ce versions:
http://www.lfarkas.org/pocket-pc/openssl/make.patch
second have to remove a lots of 'fixes' from wcecompat which already
fixed in eVC++ 4 sp4 so remove these include files (i'm not 100% check
them, but it seems so):
include/assert.h
include/ctype.h
include/malloc.h
include/math.h
include/memory.h
include/setjmp.h
include/stdarg.h
include/stddef.h
include/stdio.h
include/stdlib.h
include/string.h
include/time.h
but it would need a bit more time and more carefull examination to see 
what can be dropped (or fix) in the current wcecompat to update to the 
latest eVC++ 4 sp4.

another patch which i create this one:
http://www.lfarkas.org/pocket-pc/openssl/openssl-ce.patch
which are mainly bugfix in the current openssl code and only win ce 
specific so it could be apply without hurt other part of the openssl 
code. another stange problem for after reading this mail: 
http://marc.theaimsgroup.com/?l=openssl-usersm=111712574012234w=2
why have to change the TARGETCPU=ARM? since the eVC++ setup use the 
ARMV4 as the target cpu, but it's true that openssl can't build without 
it. and there are a few more problems...

i look into this port problem again in this week and sen my new results.

ps. another note that the current 0.9.8-beta6 is totaly broken and i 
fall back to the 0.9.7g after start with the new beta:-(

yours.


Steven Reddie wrote:

Hi Levente,

I did the Windows CE port but have not found the time to complete an update
for the latest compiler and SDKs.  I think the last kit I used for the
current OpenSSL support was eVC 3.0 for PPC2002.

OPENSSL_SYS_WINCE is the correct tag to use; you'll find these in the source
code already.  I changed the makefiles and wcecompat extensively to support
more devices but I don't know when I'll get around to digging it up again.
As a minimal fix you shouldn't find that you need to change very much to get
things working with eVC 4.x.

Regards,

Steven

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Farkas Levente
Sent: Tuesday, 14 June 2005 10:54 PM
To: openssl-dev@openssl.org
Subject: windows ce port

hi,
it seems to me that no one realy cares about the windows ce port of openssl.
so i look around and try to fix the problems with the current stable release
0.9.7g and the current embedded visual c++. i'll send the required patch to
be able to compile on windows ce. but i wouldn't like to touch other
enviroments, so in some places i'd like to ifdef my modification. which
macro should i use for this (what is the prefered way):
- WCEPLATFORM
- UNDER_CE
- WIN32_CE
- OPENSSL_SYS_WINCE
thanks in advance.
yours.

ps. does this the right list for sending patches or should i use
openssl-users (since i saw previous post on that list)?




--
  Levente   Si vis pacem para bellum!


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


Re: windows ce port patches

2005-06-27 Thread Andy Polyakov

another patch which i create this one:
http://www.lfarkas.org/pocket-pc/openssl/openssl-ce.patch
which are mainly bugfix in the current openssl code and only win ce 
specific so it could be apply without hurt other part of the openssl 
code.


As for crtypto/dso/dso_win32.c.

-   h = LoadLibrary(filename);
+   h = LoadLibrary((LPCTSTR)filename);

Just casting to LPCTSTR doesn't make everything right. TCHAR is always 
WCHAR under CE, while filename is *always* char*. You either have to 
explicitly call LoadLibraryA or detect when conversion to WCHAR is due 
and convert. In HEAD branch it's suggested to fix with explicit call to 
LoadLibraryA.


+#ifndef OPENSSL_SYS_WINCE
sym = GetProcAddress(*ptr, symname);
+#else
+   sym = GetProcAddress(*ptr, (LPCWSTR)symname);
+#endif

Same applies to GetProcAddress. symnane is *always* char* and casting to 
LPCWSTR doesn't make it Unicode. See end of 
http://cvs.openssl.org/getfile/openssl/crypto/dso/dso_win32.c?v=1.22 for 
proper solution. Idea is to explicitly call GetProcAddressA when 
available [should be implemented in WCE=3.0] or implement own 
GetProcAddressA shim, which would interface to native GetProcAddressW.



As for crypto/rand/rand_win.c. Why? Then why buf[64]? Its usage below is 
controlled by more complicated #if statement, meaning that suggested 
patch will break something.



As for crypto/rc2/rc2_skey.c. Would it be enough to initialize ki with 
NULL? Does it really have to be c? A.


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


Re: [openssl.org #1114] Bug: RC4 on IA64 and OpenSSH

2005-06-27 Thread Iain Morgan via RT

On Sun Jun 26 10:42:05 2005, Andy Polyakov via RT wrote:
 
 
  When building OpenSSH 4.1p1 against OpenSSL 0.9.7g on Itanium (Linux) the
  OpenSSH 'make tests' regression tests fail wrt the RC4 cipher.
 
 Verify 
 ftp://ftp.openssl.org/snapshot/openssl-0.9.7-stable-SNAP-20050627.tar.gz 
 *as it becomes available* and report back. A.
 

Yes! That seems to do the trick.

--
Iain Morgan

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


Still a few issues. Release delayed...

2005-06-27 Thread Richard Levitte - VMS Whacker
Hi,

The release is delayed again.  There are a couple of issues that I
think need to be checked.  I hope we'll be through with this in a
week.

Cheers,
Richard

-
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.

-- 
Richard Levitte [EMAIL PROTECTED]
http://richard.levitte.org/

When I became a man I put away childish things, including
 the fear of childishness and the desire to be very grown up.
-- C.S. Lewis
__
OpenSSL Project http://www.openssl.org
Development Mailing List   openssl-dev@openssl.org
Automated List Manager   [EMAIL PROTECTED]


Re: [openssl.org #1105] DTLS HelloVerifyRequest PATCH

2005-06-27 Thread Richard Levitte - VMS Whacker via RT

In message [EMAIL PROTECTED] on Sat, 25 Jun 2005 02:30:40 -0700, nagendra 
modadugu [EMAIL PROTECTED] said:

nagendra It turns out that the Version field was omitted from the
nagendra HelloVerify message in the internet draft.  The document 
nagendra will be corrected.

So the bug report can be removed, right?

(and *please* keep [EMAIL PROTECTED] among the recipients.  It's quite
hard to follow history in the database when people keep skipping that
address)

Cheers,
Richard

-
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.

-- 
Richard Levitte [EMAIL PROTECTED]
http://richard.levitte.org/

When I became a man I put away childish things, including
 the fear of childishness and the desire to be very grown up.
-- C.S. Lewis

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