PEM_write_DSA_PUBKEY

2005-02-08 Thread Edward Chan
Title: PEM_write_DSA_PUBKEY I'm trying to write the public/private keys to a PEM file.  I'm using the book "Network Security with OpenSSL" as a reference which says I need to use PEM_write_DSA_PUBKEY, but I can't find this anywhere in the openssl source.  I'm using 0.9.7d.  I see PEM_write_DSA

Re: Building openssl for Win-32, with the OPENSSL_FIPS flag

2005-02-08 Thread Dr. Stephen Henson
On Tue, Feb 08, 2005, Thomas Laramee wrote: > i read the instructions very carefully when i began > (INSTALL.W32), and upon reading your response, i > began anew (with a newly un-tarred set of files), > documented exactly what i typed, and got the > same results. i got the same set of 5 link e

Re: Building openssl for Win-32, with the OPENSSL_FIPS flag

2005-02-08 Thread Thomas Laramee
i read the instructions very carefully when i began (INSTALL.W32), and upon reading your response, i began anew (with a newly un-tarred set of files), documented exactly what i typed, and got the same results. i got the same set of 5 link errors. my notes are at the bottom of this email. sho

Re: Building openssl for Win-32, with the OPENSSL_FIPS flag

2005-02-08 Thread Dr. Stephen Henson
On Tue, Feb 08, 2005, Thomas Laramee wrote: > Greetings: > > i was able to build openssl for WinXP using essentially > the instructions in the INSTALL.W32 file, except for > one [big] addition. > > [snip] > > is this a common problem? if not, then perhaps the mistake > is mine? > I just

Building openssl for Win-32, with the OPENSSL_FIPS flag

2005-02-08 Thread Thomas Laramee
Greetings: i was able to build openssl for WinXP using essentially the instructions in the INSTALL.W32 file, except for one [big] addition. when i 1st tried to build, i got the following link errors: LIBEAY32.def : error LNK2001: unresolved external symbol DH_OpenSSL

Unexpected failure when using crypto functions

2005-02-08 Thread Emerick Rogul
I'm currently using OpenSSL 0.9.7c's crypto functions to verify signatures. Every once in a while, I seem to get a completely random error when verifying a signature. I can verify the same data 99 times, but then the 100th time, it will fail with a cryptic error (for instance, when it failed just

RE: OpenSSL With NO_STDIO

2005-02-08 Thread David Schwartz
> Has anybody tried compiling OpenSSL with NO_STDIO flag and > successfully run without stdio library ? I don't want to use the > stdio library since it does not recognize File descriptors > > 256.. Hence i want to avoid stdio library and use the native OS calls. I have never been able t

RE: Renegotiation with reader and writer threads.

2005-02-08 Thread David Schwartz
> Now coming to the first part of your comment. As I understand it, the > manipulation of SSL connection > needs mutex, but can the SSL_read(s) and SSL_write(s) be done from two > threads independently? It can be done from two threads, but it requires a mutex. Thus the two threads are not

SSL_library_init() debugging

2005-02-08 Thread Medi Montaseri
I need some help debugging a segmentation fault in my application at SSL_library_init() Based on ssl/ssl_algc.c Q1- Where is the definition of EVP_des_cbc() function, I could not find it along the 0.9.7e sources Q2- My app is dynamically linking with the OS supplied SSL libs. I want to be able

RE: Renegotiation with reader and writer threads.

2005-02-08 Thread Edward Chan
I was also having some problems with SSL_read() and SSL_write(). My application does read and write from different threads. My problems seem to have gone away after reading David's comment that 2 threads can't be reading and writing at the same time on the same SSL connection. So I've added a mu

SSL_CTX_use_PrivateKey_file

2005-02-08 Thread Vijayakumar Kothandaraman
SSL_CTX_use_PrivateKey_file inturn uses stdio calls to read the key file. Since i want to avoid using stdio calls, Is there any other way of getting the key file to setup the context. Similarly for SSL_CTX_use_certificate_chain_file. Any help is appreciated. Thanks Vijay __

OpenSSL With NO_STDIO

2005-02-08 Thread Vijayakumar Kothandaraman
Has anybody tried compiling OpenSSL with NO_STDIO flag and successfully run without stdio library ? I don't want to use the stdio library since it does not recognize File descriptors > 256.. Hence i want to avoid stdio library and use the native OS calls. Any help is appreciated. Vijay __

Want a particular download

2005-02-08 Thread Sathish Kumar
Hi,   Sometime back i downloaded openssl and now i could not find the download anywhere else. My openssl installed contains the following folders/files. Can anyone tell me where i could find these. I tried downloading few found in the site, but didnot get the one i got earlier.   C:/openssl/

RE: Renegotiation with reader and writer threads.

2005-02-08 Thread Kumar, Sunil
>>>"I'm not sure what you mean by "reader" and "writer", but if you mean that both threads call OpenSSL functions, you will need to associate a mutex with each connection to ensure that the >>>reader thread and writer thread are not trying to manipulate that SSL connection at the same time." The