Visual Studio

2002-11-30 Thread Desmond Ling
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]


Re: Crypt::SSLeay Raven conflict using apache and web services.

2002-11-30 Thread Keary Suska
Title: Re: Crypt::SSLeay Raven conflict using apache and web services.



on 11/29/02 8:13, [EMAIL PROTECTED] purportedly said:

Myself and one of my companies¹ associates are in the process of implementing a connection between our systems using web services. Our associates are using Apache with the Raven SSL module and mod_perl. They are trying to connect to our system via a call through SOAP::Lite via HTTPS this required the introduction of Crypt:SSLeay and OpenSSL. The problem is that when apache is running Raven and the web service client, implemented in perl, running under mod perl, tries to make a call via HTTPS it fails and gives an error stating this ³child pid 14308 exit signal Segmentation Fault (11).² If we disable raven the web service client connects without error also if we make the call over standard HTTP it connects without error it is just when Apache and the web service client are running SSL simultaneously. I am under the opinion that the two are fighting for a resource lower down the chain, but I do not have the expertise in these particular implementations of SSL software to know what both are precisely doing. I would like to know if anyone has heard of such a conflict and if there is possibly a known remedy for this problem. Any help would be greatly appreciated. 

IIRC, mod_perl must be loaded in httpd.conf before Raven SSL. Also, Raven should probably be loaded as a DSO, as historically they have had many conflicts when installed statically.

Keary Suska
Esoteritech, Inc.
Leveraging Open Source for a better Internet





pkcs7_verify

2002-11-30 Thread [EMAIL PROTECTED]
Hi

Can someone tell me how to layout the result of the 
pkcs7_verify function, I mean the content of the bio out.
I'm also wondering if I can put all my CA certificats 
and CRLs in the same directory and how to access to it 
for verifying a pkcs7 object with create_store().

Thanks a lot. 
---
L'e-mail gratuit pas comme les autres.
NOMADE.FR, pourquoi chercher ailleurs ?


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



Re: is SSL_CTX_new() thread safe (on win32) ?

2002-11-30 Thread Louis Solomon [SteelBytes]
I just tested with 0.9.7 beta 4, and it still happens.

any ideas ?

Louis Solomon
www.SteelBytes.com


- Original Message -
From: Louis Solomon [SteelBytes] [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 26, 2002 4:10 PM
Subject: Re: is SSL_CTX_new() thread safe (on win32) ?


 whoops :-) there was a typo in the url, it should be
 http://www.steelbytes.com/temp/openssl_bug_test.zip

 Louis Solomon
 www.SteelBytes.com


 - Original Message -
 From: Louis Solomon [SteelBytes] [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, November 25, 2002 12:29 PM
 Subject: is SSL_CTX_new() thread safe (on win32) ?


  When running this test program I wrote, I _sometimes_ get
  an error return by SSL_CTX_new().  The error msg is:
  SSL routines:SSL_CTX_new:library has no ciphers
 
  Louis Solomon
  [EMAIL PROTECTED]
 
  source and binaries of test program avail from:
  http://www.steeelbytes.com/temp/openssl_bug_test.zip
 
  openssl versions tested with:
  0.9.6g compiled by me (src from openssl.org)
  0.9.6g binaries from bsdftpd-ssl.sc.ru
  0.9.6d binaries from mod-ssl.org
  test enviroment:
  winxp pro sp1
  dual P3 733Mhz + 768MB ram
  compiler:
  visual studio .net
 
  pseudo code:
  main_thread()
  {
  init ssl (dyanmically linked with LoadLibrary and
GetProcAddress)
  success = 0;
  create a heap of worker threads
  wait for work threads
  clean up ssl
  if (success!=num_threads)
  show error
  else
  show success
  }
  worker_thread()
  {
  ssl_meth = SSLv23_method();
  ssl_ctx = SSL_CTX_new(ssl_meth);
  if (ssl_ctx!=NULL)
  {
  SSL_CTX_free(ssl_ctx);
  success++;
  }
  else
  {
  log ssl error to debug output
  }
  }
  __
  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: What the heck is wrong here?

2002-11-30 Thread Lutz Jaenicke
On Fri, Nov 29, 2002 at 11:53:44AM -0600, Kyle wrote:
 Thanks to all for the suggestions, but I still have same problem.
 
 I tried giving different names for -out and  -keyout, removing the days
 option, I also tried reinstalling Mandrake Linux 8.2 without the
 included openssl and then downloading and installing it. I keep getting
 the same result.
 
 The only suggestion I didn't understand was if I had random number
 source with enough entropy. How do I check this? Or, how do I change it?

If you are running Linux, you should never run out of entropy on
/dev/urandom.

I see two way to track down the problem:
- use strace to see, what system calls are performed when the command
  hands.
- attach a debugger to the hanging process and obtain a backtrace.
  This will precisely tell us the location of the problem.

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]