private keys in certificates

2002-12-02 Thread benson
Title: Message



I'm trying, without success, to read a 
certificate and private key from a PEM file and attach the private key to the 
X509 object, so that I don't have to carry it around in my code separately. 
There seems to be no API for this purpose.
 
I'd be happy to write up an FAQ on this 
topic if someone would enlighten me.
 
I don't receive the mailing list due to the 
volume of traffic, so I'd be most grateful if any respondents would copy 
me.
 
--benson
 


CRL validation

2002-12-02 Thread Vinay Raikar
Does any one has source-code or api that can be used for CRL validation??  I am currently using openssl-0.9.6g.
-VinayDo you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

SSL_set/get_timeout???

2002-12-02 Thread Vinay Raikar
Tried using above functions,I am not able to set the session timeout, Is the SSL Session Timeout hardcoded to a fix number internally
using openssl-0.9.6g
Thanks
vinayDo you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

SSL_set/get_timeout???

2002-12-02 Thread Vinay Raikar
Tried using above functions,I am not able to set the session timeout, Is the SSL Session Timeout hardcoded to a fix number internally
using openssl-0.9.6g
Thanks
vinayDo you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

Re: SSL_set/get_timeout???

2002-12-02 Thread Lutz Jaenicke
On Mon, Dec 02, 2002 at 02:36:53AM -0800, Vinay Raikar wrote:
> Tried using above functions,I am not able to set the session timeout, Is the SSL 
>Session Timeout hardcoded to a fix number internally

You did read the manual page and fully understood what the functions
actually do?
It does work for me...
Lutz
-- 
Lutz Jaenicke [EMAIL PROTECTED]
http://www.aet.TU-Cottbus.DE/personen/jaenicke/
BTU Cottbus, Allgemeine Elektrotechnik
Universitaetsplatz 3-4, D-03044 Cottbus
__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



RE: OpenSSL 0.9.7-beta4: Windows CE/Pocket PC 2002/x86 compilation problem

2002-12-02 Thread Steven Reddie
I'm working on some related fixes so I'll take a look at this.  To clarify,
are you talking about x86 or x86em (x86 emulation)?  If it's not emulation,
are you using WCEx86.BAT to setup the build environment, and setting
PLATFORM=Pocket PC 2002 before executing this batch file?

Regards,

Steven

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Atul Prakash
Sent: Sunday, 1 December 2002 3:40 PM
To: [EMAIL PROTECTED]
Subject: OpenSSL 0.9.7-beta4: Windows CE/Pocket PC 2002/x86 compilation
problem


Hi, I am trying to compile OpenSSL0.9.7-beta4 for Windows CE, x86
environment, for pocket pc 2002 SDK, but ran into a problem during the
link phase. I am hoping someone can help.

First, the VC-CE.pl required a change because it appears that the
compilation flags must be -Dx86 and -D_X86_ (note the different case in
'x86'). So just using -D$(TARGETCPU) and -D_$(TARGETCPU) did not work
for Pocket PC 2002 SDK.

After a fix for the above, all the obj files were created successfully.
However, I could not generate md2test.exe or other executables. Static
libraries did get created. The error from nmake was the following:

Building OpenSSL
link /nologo /subsystem:windowsce,3.00 /machine:x86 /opt:ref
/out:out32_x86\md2test.exe @tempfile
LINK : fatal error LNK1104: cannot open file "OLDNAMES.lib"
NMAKE : fatal error U1077: 'link' : return code '0x450'
Stop.


The temporary file contained the following names:

tmp32_x86\md2test.obj out32_x86\ssleay32.lib
out32_x86\libeay32.lib  winsock.lib
D:\users\aprakash\documents\software\wcecompat/lib/wcecompatex.lib

I compiled wcecomptex.lib using the Windows CE environment -- same as
for this compilation.

I do not see a OLDNAMES.lib in my installation of Pocket PC 2002 SDK.
Any suggestions on how to get around the problem? Thanks.


-- Atul Prakash


__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]

__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Re: SSL_set/get_timeout???

2002-12-02 Thread Vinay Raikar
Do you have test code somewhere, maybe a link to your test progarm will help.
Thanks,
Vinay
 Lutz Jaenicke <[EMAIL PROTECTED]> wrote:
On Mon, Dec 02, 2002 at 02:36:53AM -0800, Vinay Raikar wrote:> Tried using above functions,I am not able to set the session timeout, Is the SSL Session Timeout hardcoded to a fix number internallyYou did read the manual page and fully understood what the functionsactually do?It does work for me...Lutz-- Lutz Jaenicke [EMAIL PROTECTED]http://www.aet.TU-Cottbus.DE/personen/jaenicke/BTU Cottbus, Allgemeine ElektrotechnikUniversitaetsplatz 3-4, D-03044 Cottbus__OpenSSL Project http://www.openssl.orgUser Support Mailing List [EMAIL PROTECTED]Automated List Manager [EMAIL PROTECTED]Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

Re: SSL_set/get_timeout???

2002-12-02 Thread Lutz Jaenicke
On Mon, Dec 02, 2002 at 04:00:29AM -0800, Vinay Raikar wrote:
> 
> Do you have test code somewhere, maybe a link to your test progarm will help.

Postfix/TLS, available via my homepage (see .signature).
Lutz
-- 
Lutz Jaenicke [EMAIL PROTECTED]
http://www.aet.TU-Cottbus.DE/personen/jaenicke/
BTU Cottbus, Allgemeine Elektrotechnik
Universitaetsplatz 3-4, D-03044 Cottbus
__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Re: SSL_set/get_timeout???

2002-12-02 Thread Lutz Jaenicke
On Mon, Dec 02, 2002 at 02:36:53AM -0800, Vinay Raikar wrote:
> 
> Tried using above functions,I am not able to set the session timeout, Is the SSL 
>Session Timeout hardcoded to a fix number internally

Hmm. I just re-read your original mail and found, that it does concern
SSL_set_timeout(), not SSL_CTX_set_timeout(), as I first thought.
Can you be more precise about what you intend to achieve?

Best,
Lutz
-- 
Lutz Jaenicke [EMAIL PROTECTED]
http://www.aet.TU-Cottbus.DE/personen/jaenicke/
BTU Cottbus, Allgemeine Elektrotechnik
Universitaetsplatz 3-4, D-03044 Cottbus
__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



unknown pbe algorithm

2002-12-02 Thread Philippe Fischer
Trying to open certain privat key PEM files with the 
PEM_read_RSAPrivateKey() command in my application, openssl produces 
the above error, but only on versions higher than 0.96c. With V0.96c it 
works fine. Does anybody knows why this happens ?  

Philippe Fischer
 
Hochschule für Technik und Wirtschaft des Saarlandes 
__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Re: How to make in Visual C++ 6.0

2002-12-02 Thread Edward Chan
The instructions show how to build using command line.
 Is there a nice .dsp file that allows building from
within the IDE?

Thanks,
Ed

--- Cory Albrecht <[EMAIL PROTECTED]> wrote:
> --- Rick_Zhang <[EMAIL PROTECTED]> wrote:
> > i went to compile openssl in vc 6.0, but i found 
> > lack of some files. 
>  
> > Can someone help me? Or send me he project files ?
> 
> Look in the file INSTALL.W32 that comes with the
> OpenSSL source. It has
> directions on how to build OpenSSL in Win32 with
> VC++, Borland, and gcc
> (mingw32 or cygwin).
> 
> For VC++ it shows how to build both a .dll version
> and a .lib version.
> Also, how to build debug versions is mentioned in
> the section labelled
> "Tweaks".
> 
> 
> 
> __
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up
> now.
> http://mailplus.yahoo.com
>
__
> OpenSSL Project
> http://www.openssl.org
> User Support Mailing List   
> [EMAIL PROTECTED]
> Automated List Manager  
[EMAIL PROTECTED]


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



SSL error status: error:1408F455:SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac

2002-12-02 Thread Paul Ogden
Hello,
We are trying to get Eudora 5.2 (win32) to talk to our IMAP 
server over TLS/SSL.  The server is: RedHat 7.3, Linux 2.4.18-3, 
OpenSSL 0.9.6g, (Washington U) IMAP 2002.RC7.  Our clients using 
other win32 mail clients ( M$ OL, etc ) are not having any problems.

The relevant portions of our maillog are:
imapd[3166]: Unable to accept SSL connection, host=[209.128.117.3]
prospero imapd[3166]: SSL error status: error:1408F455:SSL 
routines:SSL3_GET_RECORD:decryption failed or bad record mac

I captured the packets for both a successful session (OK) and 
our troublesome Eudora sessions (FAIL) to isolate where the 
problem in negotiating the SSL session was occurring.  Key 
differences are:

"Client Hello" packets:
OK: Using TLS protocol, 22 cipher specs 
FAIL: Using SSLv2 protocol, 36 cipher specs
(both client's cipher suites included (among others):
TLS_RSA_WITH_3DES_EDE_CBC_SHA (0x000a)
and
TLS_RSA_WITH_RC4_128_MD5 (0x0004)

Server Hello, Certificate
OK: server selects TLS_RSA_WITH_RC4_128_MD5 (0x0004)
FAIL: server selects TLS_RSA_WITH_3DES_EDE_CBC_SHA (0x000a)

In both cases, client then responds with "Client Key 
Exchange, Change Cipher Spec, Encrypted Handshake".
However, while in the OK scenario the server responds 
with "Change Cipher Spec, Encrypted Handshake" and then 
data exchange begins, in the FAIL scenario the "Client Key 
Exchange, Change Cipher Spec, Encrypted Handshake" packet
is immediately follow by an "Alert Level: Fatal, Bad Record
MAC" message from the server.

Eudora responds with its internal "Connection refused" error
code and the mail logs record the afore mentioned messages.

So far Eudora documentation and a search in the archives have
not yielded any solution.  Any help is appreciated.

Thanks,

Paul Ogden
Claresco Corporation
(510) 549-2290   
__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



ocsp2.valicert.net

2002-12-02 Thread Chris Jarshant



All,
 
ocsp2.valicert.net seems to be 
non-functional.  Anyone
know of any OCSP Responders I can use to test 
my
OCSP client? I have used openvalidation.org 
with
moderate success (some of their certs don't 
have
the OCSPSigning extended key usage 
attribute,
which openssl promptly rejects).
 
cj


Re: Visual Studio

2002-12-02 Thread Desmond Ling
HI
i tried that, i used the nmake command
on the ntdll.mak. i changed the SRC_D value
to the openssl directory. still when it
tried to compile the cryptlib.c file, it
couldn't find stdio.h.
sorry i'm a complete idiot when it comes
to command compiling...

Desmond





From: mikecross <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Visual Studio
Date: Sun, 1 Dec 2002 23:28:25 -0800 (PST)

it's in the same manner as VC 6.0.
Compile openSSL /2 dlls - libeay32.dll ssleay32.dll/
add openSSL includes and lib files into VC dirs.
if you want there is openSSL .dsw and .dsp files for
VC6 which easily can be converted to VC7 project
files.
http://www.iconsinc.com/~agray/ossldev/


--- Desmond Ling <[EMAIL PROTECTED]> wrote:
> Hi,
> Does anybody know how to use the source code
> in Visual Studio.Net? Specifically Visual C++.Net.
> I was thinking of compiling the code into a dll
> for use in my program. HOw should I go about doing
> that?
> Couldn't find any info for Visual STudio.Net. Thanx
>
> Desmond
>
>
>
>
_
> Add photos to your e-mail with MSN 8. Get 2 months
> FREE*.
> http://join.msn.com/?page=features/featuredemail
>
>
__
> OpenSSL Project
> http://www.openssl.org
> User Support Mailing List
> [EMAIL PROTECTED]
> Automated List Manager
[EMAIL PROTECTED]


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]


Re: How to make in Visual C++ 6.0

2002-12-02 Thread Desmond Ling
hi
i tried to build the program in
visual studio c++.net
i got stuck at the step "nmake -f ntdll.mak"
i've already changed the SRC_D value in the
ntdll.mak file to the openssl directory
some how, when it tried to compile the
cryptlib.c file, it couldn't find stdio.h
does any1 know how to solve this?

Desmond





From: Edward Chan <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: How to make in Visual C++ 6.0
Date: Mon, 2 Dec 2002 11:38:15 -0800 (PST)

The instructions show how to build using command line.
 Is there a nice .dsp file that allows building from
within the IDE?

Thanks,
Ed

--- Cory Albrecht <[EMAIL PROTECTED]> wrote:
> --- Rick_Zhang <[EMAIL PROTECTED]> wrote:
> > i went to compile openssl in vc 6.0, but i found
> > lack of some files.
>
> > Can someone help me? Or send me he project files ?
>
> Look in the file INSTALL.W32 that comes with the
> OpenSSL source. It has
> directions on how to build OpenSSL in Win32 with
> VC++, Borland, and gcc
> (mingw32 or cygwin).
>
> For VC++ it shows how to build both a .dll version
> and a .lib version.
> Also, how to build debug versions is mentioned in
> the section labelled
> "Tweaks".
>
>
>
> __
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up
> now.
> http://mailplus.yahoo.com
>
__
> OpenSSL Project
> http://www.openssl.org
> User Support Mailing List
> [EMAIL PROTECTED]
> Automated List Manager
[EMAIL PROTECTED]


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



_
The new MSN 8: advanced junk mail protection and 2 months FREE* 
http://join.msn.com/?page=features/junkmail

__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]


Unable to configure verify locations for client authentication

2002-12-02 Thread Vangara, Vijay



I have configured all the SSL parameters and 
when i start the Apache,
i am getting "Unable to configure verify 
locations for client authentication".
 
PS: I am using opensa.
 
Thanks and have a nice time.
 
Vijay 
Vangara
(SeeBeyond 
Consultant)
Misys Healthcare 
Systems
Ph: (512) 329-0070 
x2852
[EMAIL PROTECTED]
 


Re: ocsp2.valicert.net

2002-12-02 Thread Chris Jarshant



BTW: I also need test signed 
certificates,
signed by the test CAs from the test 
site
you're about to tell me about :-)
 
cj

  - Original Message - 
  From: 
  Chris Jarshant 
  
  To: [EMAIL PROTECTED] 
  Sent: Monday, December 02, 2002 5:19 
  PM
  Subject: ocsp2.valicert.net
  
  All,
   
  ocsp2.valicert.net seems to be 
  non-functional.  Anyone
  know of any OCSP Responders I can use to test 
  my
  OCSP client? I have used openvalidation.org 
  with
  moderate success (some of their certs don't 
  have
  the OCSPSigning extended key usage 
  attribute,
  which openssl promptly rejects).
   
  cj


Re: How to make in Visual C++ 6.0

2002-12-02 Thread Sisyphus

- Original Message -
From: "Desmond Ling" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 03, 2002 9:18 AM
Subject: Re: How to make in Visual C++ 6.0


> hi
> i tried to build the program in
> visual studio c++.net
> i got stuck at the step "nmake -f ntdll.mak"
> i've already changed the SRC_D value in the
> ntdll.mak file to the openssl directory
> some how, when it tried to compile the
> cryptlib.c file, it couldn't find stdio.h
> does any1 know how to solve this?
>

Sounds like you have neglected to run 'vcvars32.bat'. Running that file from
the command prompt will set some environment variables that will enable the
msvc header files and lib files to be found. You might have to do some
minimal configuring of  'vcvars32.bat' first. Have a look inside it and
check that the specified paths are correct.

At least, that's the way it is for msvc++6.0 - visual studio.net might be a
little different (don't have it, hence don't know) - and I'm a little
unclear as to which it is that you are using.

Hth.

Cheers,
Rob

__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Re: How to make in Visual C++ 6.0

2002-12-02 Thread Desmond Ling
hi,
seems like its working till it couldn't
find another file.
"stdio_extras.h"
i did a search and found that this file was
included in the crypto.h file.
what is "stdio_extras.h"??? i've never heard
of it before. i did a search for this file
and found nothing.

i am using visual studio .Net

Desmond





From: "Sisyphus" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: <[EMAIL PROTECTED]>
Subject: Re: How to make in Visual C++ 6.0
Date: Tue, 3 Dec 2002 09:59:41 +1100


- Original Message -
From: "Desmond Ling" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 03, 2002 9:18 AM
Subject: Re: How to make in Visual C++ 6.0


> hi
> i tried to build the program in
> visual studio c++.net
> i got stuck at the step "nmake -f ntdll.mak"
> i've already changed the SRC_D value in the
> ntdll.mak file to the openssl directory
> some how, when it tried to compile the
> cryptlib.c file, it couldn't find stdio.h
> does any1 know how to solve this?
>

Sounds like you have neglected to run 'vcvars32.bat'. Running that file 
from
the command prompt will set some environment variables that will enable the
msvc header files and lib files to be found. You might have to do some
minimal configuring of  'vcvars32.bat' first. Have a look inside it and
check that the specified paths are correct.

At least, that's the way it is for msvc++6.0 - visual studio.net might be a
little different (don't have it, hence don't know) - and I'm a little
unclear as to which it is that you are using.

Hth.

Cheers,
Rob

__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]


_
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail

__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]


RE: Visual Studio

2002-12-02 Thread Steven Reddie
Do you have an INCLUDE environment variable set with a path that includes
the directory where your stdio.h lives?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Desmond Ling
Sent: Tuesday, 3 December 2002 9:21 AM
To: [EMAIL PROTECTED]
Subject: Re: Visual Studio


HI
i tried that, i used the nmake command
on the ntdll.mak. i changed the SRC_D value
to the openssl directory. still when it
tried to compile the cryptlib.c file, it
couldn't find stdio.h.
sorry i'm a complete idiot when it comes
to command compiling...

Desmond




>From: mikecross <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: Visual Studio
>Date: Sun, 1 Dec 2002 23:28:25 -0800 (PST)
>
>it's in the same manner as VC 6.0.
>Compile openSSL /2 dlls - libeay32.dll ssleay32.dll/
>add openSSL includes and lib files into VC dirs.
>if you want there is openSSL .dsw and .dsp files for
>VC6 which easily can be converted to VC7 project
>files.
>http://www.iconsinc.com/~agray/ossldev/
>
>
>--- Desmond Ling <[EMAIL PROTECTED]> wrote:
> > Hi,
> > Does anybody know how to use the source code
> > in Visual Studio.Net? Specifically Visual C++.Net.
> > I was thinking of compiling the code into a dll
> > for use in my program. HOw should I go about doing
> > that?
> > Couldn't find any info for Visual STudio.Net. Thanx
> >
> > Desmond
> >
> >
> >
> >
>_
> > Add photos to your e-mail with MSN 8. Get 2 months
> > FREE*.
> > http://join.msn.com/?page=features/featuredemail
> >
> >
>__
> > OpenSSL Project
> > http://www.openssl.org
> > User Support Mailing List
> > [EMAIL PROTECTED]
> > Automated List Manager
>[EMAIL PROTECTED]
>
>
>__
>Do you Yahoo!?
>Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
>http://mailplus.yahoo.com
>__
>OpenSSL Project http://www.openssl.org
>User Support Mailing List[EMAIL PROTECTED]
>Automated List Manager   [EMAIL PROTECTED]


_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail

__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]

__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



RE: How to make in Visual C++ 6.0

2002-12-02 Thread Steven Reddie
That file is only used for the Windows CE build.  Are you building for
Windows CE?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Desmond Ling
Sent: Tuesday, 3 December 2002 11:02 AM
To: [EMAIL PROTECTED]
Subject: Re: How to make in Visual C++ 6.0


hi,
seems like its working till it couldn't
find another file.
"stdio_extras.h"
i did a search and found that this file was
included in the crypto.h file.
what is "stdio_extras.h"??? i've never heard
of it before. i did a search for this file
and found nothing.

i am using visual studio .Net

Desmond




>From: "Sisyphus" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: <[EMAIL PROTECTED]>
>Subject: Re: How to make in Visual C++ 6.0
>Date: Tue, 3 Dec 2002 09:59:41 +1100
>
>
>- Original Message -
>From: "Desmond Ling" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Tuesday, December 03, 2002 9:18 AM
>Subject: Re: How to make in Visual C++ 6.0
>
>
> > hi
> > i tried to build the program in
> > visual studio c++.net
> > i got stuck at the step "nmake -f ntdll.mak"
> > i've already changed the SRC_D value in the
> > ntdll.mak file to the openssl directory
> > some how, when it tried to compile the
> > cryptlib.c file, it couldn't find stdio.h
> > does any1 know how to solve this?
> >
>
>Sounds like you have neglected to run 'vcvars32.bat'. Running that file
>from
>the command prompt will set some environment variables that will enable the
>msvc header files and lib files to be found. You might have to do some
>minimal configuring of  'vcvars32.bat' first. Have a look inside it and
>check that the specified paths are correct.
>
>At least, that's the way it is for msvc++6.0 - visual studio.net might be a
>little different (don't have it, hence don't know) - and I'm a little
>unclear as to which it is that you are using.
>
>Hth.
>
>Cheers,
>Rob
>
>__
>OpenSSL Project http://www.openssl.org
>User Support Mailing List[EMAIL PROTECTED]
>Automated List Manager   [EMAIL PROTECTED]


_
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail

__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]

__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



RE: How to make in Visual C++ 6.0

2002-12-02 Thread Desmond Ling
Hi
no i'm not using winCE.
i'm using win 2000. and visual studio.net
here's what i did

i installed perl and set the path for it to be exe etc..and ran the
following commands

perl Configure VC-WIN32
ms\do_ms
nmake -f ms\ntdll.mak

but doing that the compiler couldn't find stdio.h. So someone
suggested i exe vcvars.bat. i tried that and it seems to work
until it complaint that it can't find stdio_extras.h. If this
file is for winCE then i must have done smething wrong.

i realise you asked me if i have an include evironment variable
set with a path that includes the directory where the stdio.h lives.
how do u do that?

Desmond





From: "Steven Reddie" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: <[EMAIL PROTECTED]>
Subject: RE: How to make in Visual C++ 6.0
Date: Tue, 3 Dec 2002 11:17:16 +1100

That file is only used for the Windows CE build.  Are you building for
Windows CE?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Desmond Ling
Sent: Tuesday, 3 December 2002 11:02 AM
To: [EMAIL PROTECTED]
Subject: Re: How to make in Visual C++ 6.0


hi,
seems like its working till it couldn't
find another file.
"stdio_extras.h"
i did a search and found that this file was
included in the crypto.h file.
what is "stdio_extras.h"??? i've never heard
of it before. i did a search for this file
and found nothing.

i am using visual studio .Net

Desmond




>From: "Sisyphus" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: <[EMAIL PROTECTED]>
>Subject: Re: How to make in Visual C++ 6.0
>Date: Tue, 3 Dec 2002 09:59:41 +1100
>
>
>- Original Message -
>From: "Desmond Ling" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Tuesday, December 03, 2002 9:18 AM
>Subject: Re: How to make in Visual C++ 6.0
>
>
> > hi
> > i tried to build the program in
> > visual studio c++.net
> > i got stuck at the step "nmake -f ntdll.mak"
> > i've already changed the SRC_D value in the
> > ntdll.mak file to the openssl directory
> > some how, when it tried to compile the
> > cryptlib.c file, it couldn't find stdio.h
> > does any1 know how to solve this?
> >
>
>Sounds like you have neglected to run 'vcvars32.bat'. Running that file
>from
>the command prompt will set some environment variables that will enable 
the
>msvc header files and lib files to be found. You might have to do some
>minimal configuring of  'vcvars32.bat' first. Have a look inside it and
>check that the specified paths are correct.
>
>At least, that's the way it is for msvc++6.0 - visual studio.net might be 
a
>little different (don't have it, hence don't know) - and I'm a little
>unclear as to which it is that you are using.
>
>Hth.
>
>Cheers,
>Rob
>
>__
>OpenSSL Project http://www.openssl.org
>User Support Mailing List[EMAIL PROTECTED]
>Automated List Manager   [EMAIL PROTECTED]


_
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail

__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]

__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]


_
Add photos to your messages with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail

__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]


RE: How to make in Visual C++ 6.0

2002-12-02 Thread Steven Reddie
That's odd.  stdio_extras.h is only included if OPENSSL_SYS_WINCE is defined
which is only defined if OPENSSL_SYSNAME_WINCE is defined which should only
be defined if you ran "perl Configure VC-CE".  Do you have any idea how
stdio_extras.h is being included when it's wrapped with an "#ifdef
OPENSSL_SYS_WINCE"?  Is there any reference to WCE in your ms\ntdll.mak?

The INCLUDE variable is set by vcvars32.bat.

Regards,

Steven

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Desmond Ling
Sent: Tuesday, 3 December 2002 11:31 AM
To: [EMAIL PROTECTED]
Subject: RE: How to make in Visual C++ 6.0


Hi
no i'm not using winCE.
i'm using win 2000. and visual studio.net
here's what i did

i installed perl and set the path for it to be exe etc..and ran the
following commands

perl Configure VC-WIN32
ms\do_ms
nmake -f ms\ntdll.mak

but doing that the compiler couldn't find stdio.h. So someone
suggested i exe vcvars.bat. i tried that and it seems to work
until it complaint that it can't find stdio_extras.h. If this
file is for winCE then i must have done smething wrong.

i realise you asked me if i have an include evironment variable
set with a path that includes the directory where the stdio.h lives.
how do u do that?

Desmond

__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Re: SSL_set/get_timeout???

2002-12-02 Thread Vinay Raikar
I need to set the timeout for particular SSL session. Currently it is set to TCP_ALIVE TIME, ie 7200 secs, verified by call to SSL_get_timeout(SSL *s) & SSL_SESSION_get _timeout(SSL_SESSION *sess).
I tried both SSL_set_timeout(SSL*s,long tm) as well as SSL_SESSION_set_timeout(SSL_SESSION* sess,long tm), none of them are working for me.
Do I need to set anything before calling these functions???
Thanks,
Vinay
 Lutz Jaenicke <[EMAIL PROTECTED]> wrote:
On Mon, Dec 02, 2002 at 02:36:53AM -0800, Vinay Raikar wrote:> > Tried using above functions,I am not able to set the session timeout, Is the SSL Session Timeout hardcoded to a fix number internallyHmm. I just re-read your original mail and found, that it does concernSSL_set_timeout(), not SSL_CTX_set_timeout(), as I first thought.Can you be more precise about what you intend to achieve?Best,Lutz-- Lutz Jaenicke [EMAIL PROTECTED]http://www.aet.TU-Cottbus.DE/personen/jaenicke/BTU Cottbus, Allgemeine ElektrotechnikUniversitaetsplatz 3-4, D-03044 Cottbus__OpenSSL Project http://www.openssl.orgUser Support Mailing List [EMAIL PROTECTED]Automated List Manager [EMAIL PROTECTED]Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

SSL in windows CE

2002-12-02 Thread Bala Kanagasabai
Can anyone tell me if SSL works for windows CE ?

Thanks in advance.

Regards
begin:vcard 
n:Kanagasabai;Bala
x-mozilla-html:FALSE
org:Retriever Communications Pty Ltd
adr:;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Principal Software Developer
x-mozilla-cpt:;-7712
fn:Bala Kanagasabai
end:vcard



RE: SSL in windows CE

2002-12-02 Thread Steven Reddie
It was added in 0.9.7 beta 4.  beta 5 will be out shortly and fixes a few
build issues.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Bala Kanagasabai
Sent: Tuesday, 3 December 2002 5:46 PM
To: [EMAIL PROTECTED]
Subject: SSL in windows CE


Can anyone tell me if SSL works for windows CE ?

Thanks in advance.

Regards

__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Re: SSL_set/get_timeout???

2002-12-02 Thread Lutz Jaenicke
On Mon, Dec 02, 2002 at 09:02:26PM -0800, Vinay Raikar wrote:
> 
> I need to set the timeout for particular SSL session. Currently it is set to 
>TCP_ALIVE TIME, ie 7200 secs, verified by call to SSL_get_timeout(SSL *s) & 
>SSL_SESSION_get _timeout(SSL_SESSION *sess).
> I tried both SSL_set_timeout(SSL*s,long tm) as well as 
>SSL_SESSION_set_timeout(SSL_SESSION* sess,long tm), none of them are working for me.
> Do I need to set anything before calling these functions???

Two things come to mind:
* Principal function: the timeout _only_ applies to session resumption: the
  client tries to use the same session data for a new session.
  It does _not_ implement a "timeout" on the existing session, meaning
  that an open connection/session will not be closed after that time.
* Implementation: SSL_set_timeout() and SSL_SESSION_set_timeout() -- both
  in fact being identical -- only work the sessions in memory of the
  actual process. If the session cache is on a backing store -- somehow
  shared between processes -- the change of the timeout setting is not
  automatically propagated to the backing store. Therefore other processes
  using the same session cache will not learn about the new setting.

Best regards,
Lutz
-- 
Lutz Jaenicke [EMAIL PROTECTED]
http://www.aet.TU-Cottbus.DE/personen/jaenicke/
BTU Cottbus, Allgemeine Elektrotechnik
Universitaetsplatz 3-4, D-03044 Cottbus
__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]