Re: SSL_connect and SSL_accept

2007-03-27 Thread Urjit Gokhale
> > If the scenario mentioned above is possible, then the server > > will be blocked in the SSL_accept() (until the underlying tcp > > connection is broken) and hence wont be able to service other > > clients' connection requests > > This is the Toyota Principle, "you asked for it, you got it." If

Re: Cannot convert 'des_ks_struct ( *)[16]' to 'des_ks_struct *' ??

2007-03-27 Thread imin macho
Hi Marek Marcola, thanks for helping. i tried compiling the source code u gave me but it returns the same error, which is: [C++ Error] testDes.cpp(23): E2034 Cannot convert 'des_ks_struct ( *)[16]' to 'des_ks_struct *' [C++ Error] testDes.cpp(23): E2342 Type mismatch in parameter 'schedule' (want

Re: Cannot convert 'des_ks_struct ( *)[16]' to 'des_ks_struct *' ??

2007-03-27 Thread Marek Marcola
Hello, > i'm trying to develop a simple application which will encrypt text > file using triple des. actually i got the code from my friend, and > he's using openssl 0.9.8a while i'm using 0.9.9b. i faced a problem > when compiling the source code using borland... i'll always get the > error msg >

RE: Instalation Problem

2007-03-27 Thread David Schwartz
> Thanks Steve! > But How can i go to the command prompt ? > I think thats the problem... i didnt understood the order: > "...Then from the VC++ environment at a prompt..." There should be a shortcut. For 2003, in the default, it's: Microsoft Visual Studio .NET 2003 -> Vistual Studio .NET Tools

Re: Instalation Problem

2007-03-27 Thread Maria Iervasi
Thanks Steve! But How can i go to the command prompt ? I think thats the problem... i didnt understood the order: "...Then from the VC++ environment at a prompt..." From: "Dr. Stephen Henson" <[EMAIL PROTECTED]> Reply-To: openssl-users@openssl.org To: openssl-users@openssl.org Subject: Re: Ins

Re: Instalation Problem

2007-03-27 Thread Dr. Stephen Henson
On Tue, Mar 27, 2007, Maria Iervasi wrote: > I had followed the orders listed in "INSTALLATION ON THE WIN32 PLATFORM" > /"Visual C++" > and I cant get the openSsl intalled. > First, I use WindowsXP. > > >>Firstly you should run Configure: > >>perl Configure VC-WIN32 --prefix=c:/some/openssl/dir

Instalation Problem

2007-03-27 Thread Maria Iervasi
I had followed the orders listed in "INSTALLATION ON THE WIN32 PLATFORM" /"Visual C++" and I cant get the openSsl intalled. First, I use WindowsXP. Firstly you should run Configure: perl Configure VC-WIN32 --prefix=c:/some/openssl/dir Thats OK, I get no problem. If you don't want to use the

RE: Can't make SLES 9 OpenLDAP work with TLS/SSL

2007-03-27 Thread Chapman, Kyle
It can be, see this: http://www.openldap.org/doc/admin23/tls.html#TLS%20Certificates TLSVerifyClient { never | allow | try | demand } (in slapd.conf) Note: The server must request a client certificate in order to use the SASL EXTERNAL authentication mechanism with a TLS session. As such, a non-d

RE: Can't make SLES 9 OpenLDAP work with TLS/SSL

2007-03-27 Thread lemons_terry
[sorry for the long post; I'm leaving the original posting in tact to provide context] Thank you very much for the reply. I ran the command you supplied, and received (in part): supportedLDAPVersion: 3 supportedSASLMechanisms: GSSAPI supportedSASLMechanisms: DIGEST-MD5 supportedSASLMechanisms:

RE: Can't make SLES 9 OpenLDAP work with TLS/SSL

2007-03-27 Thread Chapman, Kyle
im guessing it's a typo with your sasl search, -x enables simple auth. Try this: Ldapsearch -x -H ldap:// -Z -s base -b "" "+" You should get a listing of supported sasl mechs supportedLDAPVersion: 3 supportedSASLMechanisms: GSSAPI supportedSASLMechanisms: OTP supportedSASLMechanisms: DIGEST-MD5

Can't make SLES 9 OpenLDAP work with TLS/SSL

2007-03-27 Thread lemons_terry
[I posted this to the Novell novell.support.sles.configure-administer discussion group, but have not received any response. As I have an end-of-week deadline to get this working, I'm re-posting it to this mailing list, with apologies.] Hi I'm trying to use the SLES 9 SP3 OpenLDAP server with

RE: SSL_connect and SSL_accept

2007-03-27 Thread David Schwartz
> If the scenario mentioned above is possible, then the server > will be blocked in the SSL_accept() (until the underlying tcp > connection is broken) and hence wont be able to service other > clients' connection requests This is the Toyota Principle, "you asked for it, you got it." If you don't

SSL_connect and SSL_accept

2007-03-27 Thread Urjit Gokhale
Hello, I am wondering if the following scenario possible: 1) The server calls SSL_accept(). The underlying socket is in blocking mode 2) The client calls SSL_connect(). The underlying socket is in blocking mode 3) SSL_connect() returns error. 4) The server does not notice this, and continues to wa

Cannot convert 'des_ks_struct ( *)[16]' to 'des_ks_struct *' ??

2007-03-27 Thread imin macho
hi, i'm trying to develop a simple application which will encrypt text file using triple des. actually i got the code from my friend, and he's using openssl 0.9.8a while i'm using 0.9.9b. i faced a problem when compiling the source code using borland... i'll always get the error msg "[C++ Error]

Re: sample code to encrypt file using tripleDes/aes/blowfish

2007-03-27 Thread imin macho
ouh, thanks a lot. however i've looked inside the folder, but couldn't find the sample for triple des. i'm using openssl 0.9.8b. anyway i've got my hand on my friend's source code.. but he uses 0.9.8a... currently i'm trying to tinker his source code to meet my needs.. thanks again On 3/27/07, B