Problem in 'BIO_set_fp(in,stdin,BIO_NOCLOSE' under win98

2000-03-21 Thread oddissey
Hi, all When I tried to modify 'pkcs7.c' in apps directory in order to compile it separately, I encountered a runtime error. I have discovered that win98 does not undertand the command 'BIO_set_fp(in,stdin,BIO_NOCLOSE' Can anybody help me? Thanks in advance.

test_bn not completed succesfully

2000-03-21 Thread ioannou
Hi, The test_bn for version 0.9.5 did not complete succesfully but I think it is a bc problem. If I pipe the output of bntest directly to bc, then I get 0 for all the operations (except of course the lines like "test_mul" or something). I have changed the Makefile to continue after this

Re: Problem in 'BIO_set_fp(in,stdin,BIO_NOCLOSE' under win98

2000-03-21 Thread Andrew W. Gray
[EMAIL PROTECTED] wrote: When I tried to modify 'pkcs7.c' in apps directory in order to compile it separately, You shouldn't have to modify it at all to create the pkcs7 standalone executable. To create pkcs7.exe in windows - compile BOTH pkcs7.c AND apps.c link together against libeay32

Re: demos\cli and serv.cpp

2000-03-21 Thread Bob Ollila
Does the sample code call WSAStartup()? This is needed for WIN NT socket calls. Lingyun Wang wrote: THanks for the help very much. I tried to build demos\cli.cpp and serv.cpp projects under VC++6 env. I changed #include sys/socket.h #include netinet/in.h #include arpa/inet.h

Trying to compile gpkcs11

2000-03-21 Thread Ignacio Sorribas - nisu
Hi, I'm trying to compile the gpkcs11 module witch uses the openssl. The gpkcs11 try to find a file called evp_pkcs11.h and doesn't found it. Where can I find that file? thanks in advance. Ignacio Sorribas U.J.I.

Re: Trying to compile gpkcs11

2000-03-21 Thread Richard Levitte - VMS Whacker
sorribas Hi, I'm trying to compile the gpkcs11 module witch uses the sorribas openssl. The gpkcs11 try to find a file called evp_pkcs11.h sorribas and doesn't found it. Where can I find that file? As far as I know, evp_pkcs11.h is not part of OpenSSL. I suggest you ask on [EMAIL PROTECTED] or

Des makefile for 0.9.5

2000-03-21 Thread Doug Hoffman
I'm not sure if anyone has stumbled over this or who to send this to, but the Makefile in the crypto/des directory lists fcrypt.c as a source file twice. My linker complained about the multiple symbol definitions. Doug begin:vcard n:Hoffman;Doug tel;fax:(515)224-1352 tel;work:(515)327-2414

Re: OpenSSL 0.9.5a beta1 released

2000-03-21 Thread Guillaume Filion
Guillaume Filion [EMAIL PROTECTED]: I tried to compile Openssl 0.9.5a beta 1 on SunOS 4.1.4 1 and it didn't worked (note that I never tried to compile an earlier/stable version on SunOS...). [...] bss_bio.c:217: `ssize_t' undeclared (first use this function) Try "./config

Re: Trying to compile gpkcs11

2000-03-21 Thread Jean-Marc Desperrier
Richard Levitte - VMS Whacker wrote: sorribas Hi, I'm trying to compile the gpkcs11 module witch uses the sorribas openssl. The gpkcs11 try to find a file called evp_pkcs11.h sorribas and doesn't found it. Where can I find that file? As far as I know, evp_pkcs11.h is not part of OpenSSL.

Re: OpenSSL 0.9.5a beta1 released

2000-03-21 Thread Bodo Moeller
On Tue, Mar 21, 2000 at 11:13:02AM -0500, Guillaume Filion wrote: Guillaume Filion [EMAIL PROTECTED]: I tried to compile Openssl 0.9.5a beta 1 on SunOS 4.1.4 1 and it didn't worked (note that I never tried to compile an earlier/stable version on SunOS...). bss_bio.c:217: `ssize_t'

Re: SSL3 handshake fails with SSL_AD_UNEXPECTED_MESSAGE error (v. 0.9 on NT/Solaris)

2000-03-21 Thread Dr Stephen Henson
Eric Gilbertson wrote: Hello: Can anyone point me to a solution to the infamous handshake problems that occur when a weak crypto client attempts to connect with a strong server? I've purused the relevant posts in the archives and they seem similar but not exactly the same as what I am

Re: newbie question: SSL session ID via Perl/CGI

2000-03-21 Thread darkspell
The "HTTPS_SESSIONID" is passed by the (Netscape) server as an environment variable available to any CGI. Get it thusly: = ; The times I've tried to access, however, it has been blank. Let me know if it works for you. John [EMAIL PROTECTED] www.darkspell.com -Original Message-

test failure

2000-03-21 Thread Danny Grasse
'make test' fails in 'starting big number library test' at 'Square test failed!'. Here is the listing from 'make report'. Any help would be greatly appreciated. Thanks, Danny OpenSSL self-test report: OpenSSL version: 0.9.5 Last change: PKCS7_encrypt() was adding text MIME headers

No Subject

2000-03-21 Thread Brajesh Tiwari
Hi, I am using openssl for implementating ssl in a client application. When I am using SSL_CTX_use_PrivateKey_file as below SSL_CTX_use_PrivateKey_file(ssl_ctx,"key.pem",SSL_FILETYPE_PEM) and if my private key is created with a des i.e. I have given a password, then my client application just

CSRs keypairs (generic SSL question)

2000-03-21 Thread Peter W
Every year I crank out new Certificate Signing Requests to renew my Verisign certs. I am told that by doing so I am creating new server keypairs. That doesn't make sense to me (esp. since the server seems to keep working while I wait for the new cert from my CA). Am I right that generating a CSR

B_Decrypt() returns INVALID_INPUT when decryping data encrypted by a PKCS11 token

2000-03-21 Thread Eric Gilbertson
Hello Again: Having done a top level rebuild the problem I described earlier went away. I'm now back to the real issue of why B_DecryptFinal() would return an invalid data error (0x20c) when decrypting data encrypted by a PKCS11 token? This occurs during the key exchange handshake in SSL3

RE: SSL3 handshake fails with SSL_AD_UNEXPECTED_MESSAGE error (v. 0.9 on NT/Solaris)

2000-03-21 Thread David Ahrens
The server needs to generate a weak temporary RSA key pair and send it across in a Server Key exchange message. -Dave Ahrens -Original Message- From: Eric Gilbertson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 21, 2000 9:44 AM To: '[EMAIL PROTECTED]' Subject: SSL3 handshake

Re: OpenSSL 0.9.5a beta1 bug on FreeBSD 3.2

2000-03-21 Thread Kris Kennaway
On Mon, 20 Mar 2000, Claus Assmann wrote: The problem exists on 3.2, 3.3., and 3.4 (those are all FreeBSD releases I have access to right now). Cool, thanks for checking those. It must be the gcc 2.7.2.3 vs gcc 2.95.2 thang (when we upgraded the compiler quite a few ports had a problem with

Re: Question on openSSL CA certificate

2000-03-21 Thread darkspell
Use CA.pl or CA.sh. They're in the /usr/local/ssl/misc directory (on Unix systems). On NT, I don't know, but if you found cacert.pem they should be nearby. Run ./CA.pl -newca . It will create the new CA cert and key. John [EMAIL PROTECTED] www.darkspell.com Mehrdad Alipour wrote: I am

Re: newbie question: SSL session ID via Perl/CGI

2000-03-21 Thread darkspell
Wow! My earlier post blew up, didn't it? Here's the correct answer: The "HTTPS_SESSIONID" is passed by the (Netscape) server as an environment variable available to any CGI. Get it thusly: $ses_id = $ENV{'HTTPS_SESSIONID'}; The times I've tried to access, however, it has been blank. Let me

what is the purpose of the encrypt/decrypt functions in the key exchange?

2000-03-21 Thread Eric Gilbertson
Hello Again: Can anyone tell me what the purpose of the RSA_public_decrypt()/ RSA_private_encrypt() pair calls that are used in the SSL3 key change protocol is? Since they are operating on digested data it appears that they are used to implement signing? If that is the case why not do this

Re: what is the purpose of the encrypt/decrypt functions in the key e xchange?

2000-03-21 Thread Dr Stephen Henson
Eric Gilbertson wrote: Hello Again: Can anyone tell me what the purpose of the RSA_public_decrypt()/ RSA_private_encrypt() pair calls that are used in the SSL3 key change protocol is? Since they are operating on digested data it appears that they are used to implement signing? If that is

w3m and openssl-0.9.5

2000-03-21 Thread Ismael Cordeiro
I don't know whether the problem is in openssl or w3m or both, so I'm sending this message to both openssl-dev and w3m-dev-en. I had already compiled w3m-0.1.6 with openssl-0.9.4 but when I tried to compile w3m-0.1.6 with openssl-0.9.5 I got this: | gcc -O2 -I./gc

Editing the autoconf files

2000-03-21 Thread Evan Carew
Ok, I'm beginning to realize I may be a nubie with regard to the autoconf system. I'm trying to add some functionality under the crypto directory and am not sure where to start. Can anyone give me a few pointers? Thanks, Evan begin:vcard n:Carew;Evan tel;work:(313) 859-9691 x-mozilla-html:TRUE

CRL CHECK ( URGENT )

2000-03-21 Thread Venkatesha, Ashalatha
Hi All, I am also waiting for any replies for following questions from last few months. Please anyone can help in this urgently. Might be Steve can you answer for this please. We have Netscape Certificate Server as CA and keeps track of CRL. In my server(developed

Why do I see a private key?

2000-03-21 Thread rrln
Hi, people I was tinkering with some piece of code (modified from /demos/selfsign) and I was shocked to find that I saw a private key where I shouldn't. Here is the code CODE = #include stdio.h #include stdlib.h #include openssl/pem.h #include openssl/conf.h #include openssl/x509v3.h