Re: openssl-0.9.7c win32 compile error

2003-10-03 Thread Nathan Kidd

> While compiling openssl-0.9.7c on WIN32 I get the following compile
> error. Has anyone else gotten this error and what is the fix?

I have no problems building on W2K SP4 with SDK Aug2002.  I use the
following makefile fragment to build...

OPENSSLDIR=openssl-0.9.7c
CONFIG_Target=VC-WIN32

compile:
@-echo 
@-echo Building $(OPENSSLDIR) for $(CONFIG_TARGET)
@-echo 
 @-echo.
pushd $(OPENSSLDIR)
@-if exist .\out32dll rd /s /q .\out32dll
@-if exist .\tmp32dll rd /s /q .\tmp32dll
perl Configure $(CONFIG_TARGET) $(CONFIG_FLAGS)
ms\do_nasm.bat
$(MAKE) -f ms\ntdll.mak
popd


-Nathan
 
> S:\tru64\ported\openssl-0.9.7c.win32>nmake -f ms\ntdll.mak
> 
> Microsoft (R) Program Maintenance Utility   Version
> 6.00.8168.0
> Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
> 
> Building
> OpenSSL
> 
> cl /Fotmp32dll\n_pkey.obj  -Iinc32 -Itmp32dll /MD /W3 /WX /G5
> /Ox /O2 /Ob2 /Gs0
> /GF /Gy /nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN
> -DDSO_WIN32 -DB
> N_ASM -DMD5_ASM -DSHA1_ASM -DRMD160_ASM /Fdout32dll -DOPENSSL_NO_KRB5
> -D_WINDLL  -DOPENS
> SL_BUILD_SHLIBCRYPTO -c
> .\crypto\asn1\n_pkey.c
> n_pkey.c
> .\crypto\asn1\n_pkey.c(96) : error C2370: 'NETSCAPE_ENCRYPTED_PKEY_it' :
> redefinition; different storage class
> .\crypto\asn1\n_pkey.c(93) : see declaration of
> 'NETSCAPE_ENCRYPTED_PKEY_it'
> .\crypto\asn1\n_pkey.c(106) : error C2370: 'NETSCAPE_PKEY_it' :
> redefinition; different storage class
> .\crypto\asn1\n_pkey.c(103) : see declaration of
> 'NETSCAPE_PKEY_it'
> NMAKE : fatal error U1077: 'cl' : return code
> '0x2'
> Stop.
__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]


Re: patent risk in encryption algotithm ?

2003-09-26 Thread Nathan Kidd
And additionally http://www.ietf.org/ietf/IPR/CAST-256-entrust says the
same for CAST-256.

-Nathan

Frank Balluffi wrote:
> 
> Regarding CAST, see http://www.ietf.org/ietf/IPR//CAST-128-entrust. BTW, section 8 
> of RFC 3280 points to http://www.ietf.org/ipr.html.
> 
> Frank
> 
> 
>   "Chris Brook"
>   <[EMAIL PROTECTED]>To:   <[EMAIL PROTECTED]>
>   Sent by:  cc:
>   owner-openssl-dev@Subject:  RE: patent risk in 
> encryption algotithm ?
>   openssl.org
> 
> 
>   09/26/2003 09:41
>   AM
>   Please respond to
>   openssl-dev
> 
> 
> 
> DSA is public domain, CAST is an Entrust algorithm but I'm not sure if their
> patent is still active.
> Chris Brook
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Boehme, Alfred
> Sent: Friday, September 26, 2003 1:44 AM
> To: '[EMAIL PROTECTED]'
> Subject: patent risk in encryption algotithm ?
> 
> Hello,
> 
> I've been asked, if there is any known patent risk in the encryption
> algorithm of OpenSSL ?
> Especially
> DSA, CAST-128, and CAST-256
> was asked for.
> 
> Can someone help me here ?
> 
> Thanks in advance
> 
> Alfred
> __
> OpenSSL Project http://www.openssl.org
> Development Mailing List   [EMAIL PROTECTED]
> Automated List Manager   [EMAIL PROTECTED]
> 
> __
> OpenSSL Project http://www.openssl.org
> Development Mailing List   [EMAIL PROTECTED]
> Automated List Manager   [EMAIL PROTECTED]
> 
> --
> 
> This e-mail may contain confidential and/or privileged information. If you are not 
> the intended recipient (or have received this e-mail in error) please notify the 
> sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or 
> distribution of the material in this e-mail is strictly forbidden.
> 
> __
> OpenSSL Project http://www.openssl.org
> Development Mailing List   [EMAIL PROTECTED]
> Automated List Manager   [EMAIL PROTECTED]
__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]


Re: compile problems ????

2003-09-03 Thread Nathan Kidd
> # ./openssl
> ld.so.1: ./openssl: fatal: libssl.so.0.9.7: open failed: No such
> file or directory
> Killed
> 
> Now the file libssl.so.0.9.7 is there. It's located in the
> /usr/local/ssl/lib directory. Can anyone lead me in the right 
> direction.

Set LD_LIBRARY_PATH to include that directory. (See example at
http://www.experts-exchange.com/Operating_Systems/Solaris/Q_20645659.html.)

Further openssl questions should go to [EMAIL PROTECTED]

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


Re: compile problems ????

2003-09-03 Thread Nathan Kidd
 
> Not sure if this is the right place, if not what group would be more
> appropriate,

openssl-users is probably more appropriate than this development list,
but...
 
> -rw-r--r--   1 bin  bin  1943752 Apr 17 06:28 libcrypto.a
> -r-xr-xr-x   1 bin  bin  1329284 Apr 17 06:28 libcrypto.so.0.9.7
> -rw-r--r--   1 bin  bin   301916 Apr 17 06:28 libssl.a
> -r-xr-xr-x   1 bin  bin   236832 Apr 17 06:28 libssl.so.0.9.7
> 
> My compiled version of SSL has the following directory structure
> 
> -rw-r--r--   1 root other1857536 Sep  3 08:00 libcrypto.a
> -rw-r--r--   1 root other 297588 Sep  3 08:00 libssl.a
> 
> As you can tell I seem to be missing all of the libcrypto files. Was
> wondering were they went.

> What am I doing wrong. How can I get these libraries to be there
> permantently.

My non-expert understanding is you're only missing the shared libs (.so)
everything else is symlinks.  Add "shared" to your ./Configure line.

-Nathan
___
Hummingbird Ltd.
Toronto, Ontario
__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]


Re: IMPORTANT: please test snapshot openssl-0.9.7-stable-SNAP-20030214.tar.gz

2003-02-14 Thread Nathan Kidd
Builds and tests OK on Win32.

Source: openssl-0.9.7-stable-SNAP-20030214.tar.gz 
  Platform: Win32 (Win2K)
  Compiler: VC6 SP5, masm, nasm
Configurations: VC-WIN32
VC-WIN32 no-idea no-rc5

Tried do_ms, do_masm and do_nasm for each config.

-Nathan

Bodo Moeller wrote:
> 
> Please test snapshot openssl-0.9.7-stable-SNAP-20030214.tar.gz
> (or later), which will be available today around 8 p.m. GMT at
> ftp://ftp.openssl.org/snapshot;type=d >.
> 
> We plan to release version 0.9.7a soon (next week if all goes well).
> OpenSSL 0.9.7a will be a bugfix release based on 0.9.7; thus there
> will be no beta releases.  The snapshot should solve most problems
> that have been reported to [EMAIL PROTECTED]; please test it to help us
> avoid unforeseen problems with the new release.
> __
> OpenSSL Project http://www.openssl.org
> Development Mailing List   [EMAIL PROTECTED]
> Automated List Manager   [EMAIL PROTECTED]
__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Re: openssl question

2003-02-11 Thread Nathan Kidd
The unversioned tars in ftp://ftp.openssl.org/snapshot/ are 0.9.8.
I.e. openssl-SNAP-20030209.tar.gz

(And you did already look there because you read
http://www.openssl.org/source/ right? :)

-Nathan

Ala Wai via RT wrote:
> 
> THis maybe a dumb question, but where do I go to get
> the latest version of the source code (0.9.8)?
> 
> Thanks in advance,
> Ala
__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Re: IMPORTANT: please test snapshot openssl-0.9.7-SNAP-20021213

2002-12-13 Thread Nathan Kidd
Yes, indeed, win32 asm (both nasm + masm) are broken in
openssl-0.9.7-stable-SNAP-20021213. 

Nasm gives:
===
[NASM version 0.98.35 compiled on Oct 28 2002]

nasmw -f win32 -o crypto\des\asm\d_win32.obj .\crypto\des\asm\d_win32.asm
.\crypto\des\asm\d_win32.asm:60: error: expression syntax error
.\crypto\des\asm\d_win32.asm:1088: error: expression syntax error
NMAKE : fatal error U1077: 'nasmw' : return code '0x1'
Stop.

The offending lines are both:
lea ebp, [_DES_SPtrans+]

Masm gives:
===

Microsoft (R) Macro Assembler Version 6.11d
Copyright (C) Microsoft Corp 1981-1995.  All rights reserved.

 Assembling: .\crypto\des\asm\d_win32.asm
.\crypto\des\asm\d_win32.asm(63) : error A2016: expression expected
.\crypto\des\asm\d_win32.asm(1095) : error A2016: expression expected
.\crypto\des\asm\d_win32.asm(2373) : error A2006: undefined symbol :
_$L008PIC_point
.\crypto\des\asm\d_win32.asm(2376) : error A2032: invalid use of register
.\crypto\des\asm\d_win32.asm(2555) : error A2006: undefined symbol :
_$L032PIC_point
.\crypto\des\asm\d_win32.asm(2558) : error A2032: invalid use of register
NMAKE : fatal error U1077: 'ml' : return code '0x1'
Stop.

Apparently it doesn't like the $'s.  I also tried Masm 6.15 with the same
results.

(For completeness' sake, the ms\do_ms.bat configuration builds and tests
fine.)

Openssl-0.9.7-stable-SNAP-20021212 builds fine for do_nasm, do_masm and
do_ms.

If someone makes a patch I can try again on Monday.

-Nathan



Richard Levitte - VMS Whacker wrote:
> 
> It will be available tomorrow.
> 
> The crucial thing to test is that things are still working properly in
> Windows, especially the DES assembler modules.  They been changed to
> generate PIC code on Unix, and it's important that we get tests on how
> that affects Windows, if it does.
> 
> --
> Richard Levitte   \ Spannvägen 38, II \ [EMAIL PROTECTED]
> Redakteur@Stacken  \ S-168 35  BROMMA  \ T: +46-8-26 52 47
> \  SWEDEN   \ or +46-708-26 53 44
> Procurator Odiosus Ex Infernis-- [EMAIL PROTECTED]
> Member of the OpenSSL development team: http://www.openssl.org/
> 
> Unsolicited commercial email is subject to an archival fee of $400.
> See  for more info.
> __
> OpenSSL Project http://www.openssl.org
> Development Mailing List   [EMAIL PROTECTED]
> Automated List Manager   [EMAIL PROTECTED]
__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Re: [PATCH] Windows CE (against openssl-0.9.7-stable-SNAP-20021201)

2002-12-04 Thread Nathan Kidd
Richard, this same patch needs to be applied to the 0.9.6 tree also.  

openssl-e-0.9.6-stable-SNAP-20021127 builds fine.

openssl-e-0.9.6-stable-SNAP-20021128 up to 20021203 are broken as follows:

...
.\crypto\md2\md2_dgst.c(197) : error C2220: warning treated as error - no
object file generated
.\crypto\md2\md2_dgst.c(197) : warning C4013: 'OPENSSL_cleanse' undefined;
assuming extern returning int
NMAKE : fatal error U1077: 'cl' : return code '0x2'

In the 0.9.7 tree it was broken in the exact same way from 20021128 -
20021202, but your patch in 20021203 fixed it.

-Nathan

Richard Levitte - VMS Whacker wrote:
> 
> I just applied the patch and committed.
> 
> --
> Richard Levitte [EMAIL PROTECTED]
> OpenSSL Project http://www.openssl.org/~levitte/
> __
> OpenSSL Project http://www.openssl.org
> Development Mailing List   [EMAIL PROTECTED]
> Automated List Manager   [EMAIL PROTECTED]
__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Building for Win64?

2002-10-16 Thread Nathan Kidd

Hi,

I'm trying to build OpenSSL for Win64.  Request Tracker #22, which is a
patch adding support for Win64, doesn't seem to have made it into the
0.9.8-dev tree, and nothing seems to have happened on that front since the
end of June.  

Does someone have a status update?  If the hold-up is a lack of an
environment to build/test please let me know -- I have fast machines with
the official (Aug 2002) MS IA64 SDK, and access to Itaniums for testing.

Has anyone successfully compiled for Win64? Any pointers would be greatly
appreciated.

-Nathan
_____
Nathan Kidd
Builds Engineer
Hummingbird Ltd.
__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]