Build error on Windows NT4?

2002-12-31 Thread Wirta Ville
Hi! I took 0.9.7 from OpenSSL.org and tried compiling it on Windows NT4 sp6a with Visual Studio command line tools. I followed the instructions of install.w32 but got the following error with ms\do_nasm: SNIP cl /Fotmp32dll\n_pkey.obj -Iinc32 -Itmp32dll /MD /W3 /WX /G5 /Ox /O2 /Ob2 /Gs0

Static OpenSSL lib in NT with VC++

2002-01-02 Thread Wirta Ville
Hi! Has anyone tried building (and using) static OpenSSL (0.9.6c) libraries on Win NT? I'm building with VC++ and get the following error: (I don't suffer from these with dynamic libs) Linking... MSVCRT.lib(MSVCRT.dll) : error LNK2005: _time already defined in LIBCMT.lib(time.obj) there are

RE: Static OpenSSL lib in NT with VC++

2002-01-02 Thread Wirta Ville
+0200, Wirta Ville wrote: Hi! Has anyone tried building (and using) static OpenSSL (0.9.6c) libraries on Win NT? I'm building with VC++ and get the following error: (I don't suffer from these with dynamic libs) Linking... MSVCRT.lib(MSVCRT.dll) : error LNK2005: _time already defined in LIBCMT.lib

RE: Non-blocking BIO

2001-04-04 Thread Wirta, Ville
You are misinterpreting the meaning of BIO_should_retry(). What it is telling you is that you should wait until a certain condition is satisfied on the underlying transport (SOCKET in this case) before you retry. You can retry immediately but that is likely to be inefficient. Is it

non-blocking BIO

2001-04-02 Thread Wirta, Ville
Hi! I was wondering how to set non-blocking mode on in my helper application (using OpenSSL). I found a BIO example at: http://www.openssl.org/docs/crypto/BIO_f_ssl.html# which worked fine until I tried to make it nonblocking by adding: BIO_set_nbio (sbio, 1); in the code, right

SSL_s, SSL_ctx and threads

2000-12-20 Thread Wirta, Ville
Hi! I was wondering what might the differences between "SSL_use_certificate_file" and "SSL_CTX_use_certificate_file" be? Private key file can also be attached to both ssl_s and ssl_ctx... Would there be a place to read more of these or could someone help me a little? I would also like to know

RE: SSL_s, SSL_ctx and threads

2000-12-20 Thread Wirta, Ville
I don't have experience with threads. Too bad :-) Did you call SSL_clear() after finishing the connection and before reusing the SSL object? I'm not actually reusing SSL_s but just read and write on it. Every operation is actually surrounded by mutexes so I'm quite a bit

A question about threads

2000-11-24 Thread Wirta, Ville
Hi all! I'm still fighting against casual fall-downs with my server and OpenSSL. I found an interesting point from OpenSSL man pages that mentioned two important call back functions that have to be set. "locking_funktion" and "id_function". If I understood correctly the id one is not needed with

RE: Looking for an HTTPS client for NT C/C++

2000-11-21 Thread Wirta, Ville
I would also be interested if THE tool is available somehow/somewhere! Yours VW -Original Message- From: John Casu [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 21, 2000 12:06 PM To: [EMAIL PROTECTED] Subject: Re: Looking for an HTTPS client for NT C/C++ John Casu wrote:

SSL_read problem

2000-10-02 Thread Wirta, Ville
Hi! I'm having a problem reading from socket when connection keep-alive is on. SSL_read returns -2. What could that -2 possible mean? I tried to look at the code but did'nt find the red thread. Thanks already if anyone knows! Yours VW

SSL keep-alive

2000-09-26 Thread Wirta, Ville
Hi! I wonder how SSL should be working with connection keep-alive? I mean that when functions: SSL_CTX_new(); SSL_new(pCtx); SSL_clear(pSSL); SSL_set_session(pSSL,NULL); SSL_set_accept_state(pSSL); have been called for a connection, then what? Can I keep on reading and writing now matter how

keep-alive

2000-09-20 Thread Wirta, Ville
Hi! I'm deeply sorry that I have to ask (again) something that isn't ment to be asked on this list but I have no one else to turn to but You guys and gals. (thank God and The OpenSSL Project Team for this list! I mean really...) The problem in a nutshell: I'd need to implement connection

RE: Caching SSL Sessions

2000-09-11 Thread Wirta, Ville
I'd also be VERY interested of this session-cache-thing but I've allready seen two different (as I understood) ways to accomplish this and I'm confused. I wonder if there is a "session-how-to" somewhere or a simple example. I'd also like to know if it is a must to be able to touch the client

RE: Caching SSL Sessions

2000-09-11 Thread Wirta, Ville
Netscape and IE both cache sessions and the server you are writing should as well. I believe most sane browsers would do the same. Unless you are writing your own client, you really don't have to worry about client-side caching. Let's say your server caches sessions. If the browser doesn't

Certificate format

2000-08-31 Thread Wirta, Ville
Sorry to be little of the topics of the list but my need of information is urgent. I appology. I do deal with OpenSSL and therefore I know that MANY experts (or even GURUs) read this list. I'd need to know, how to create a server certificate in PSE-format? (PKCS12 I ques) I'd need that

RE: I'm still so very confused about certificates

2000-08-28 Thread Wirta, Ville
-Original Message- From: Eric Murray [mailto:[EMAIL PROTECTED]] Sent: Friday, August 25, 2000 10:04 PM To: [EMAIL PROTECTED] Subject: Re: I'm still so very confused about certificates The certificate has no effect on the type of symmetric encryption that SSL negotiates.

RE: I'm still so very confused about certificates

2000-08-28 Thread Wirta, Ville
Yuriy Stul, Tashilon Ltd., Core Technology Division Manager mailto:[EMAIL PROTECTED] http://www.tashilon.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Wirta, Ville Sent: Monday, August 28, 2000 8:15 AM To: '[EMAIL PROTECTED]' Subject: RE: I'm

RE: ERR_print_errors_ft(stderr) fails

2000-06-29 Thread Wirta, Ville
Trying to get ERR_print_errors_fp(stderr) to work but it fails. I'm using MS visual C++ on Win2000. Application Error returned: The memory could not be "written". Can anyone tell me what is wrong?!! Thanks, Roger I don't know what the problem might be, but I'm all ears, if someone

Problem with SSLv3_server_method

2000-04-11 Thread Wirta, Ville
Title: Problem with SSLv3_server_method Hi! I'm new with OpenSSL and I'd like to know why browsers can't connect to a server which initializes the SSL connection with SSLv3_server_method(). SSLv2_server_method() and SSLv23_server_method() work fine with IE (40, 56, 128 bit), Netscape (56,