Re: Tutorial

2008-02-22 Thread Joel Christner
Hi Driss, Have you looked at the man pages for the OpenSSL libraries? Also there is an OpenSSL book (www.opensslbook.com) that has sample code online for download. On Fri, Feb 22, 2008 at 6:53 AM, EL HACHIMI Driss [EMAIL PROTECTED] wrote: Hello, I need to set an SSL communication between a

Re: RE : Re: Tutorial

2008-02-22 Thread Joel Christner
Hi, Man pages means to look at the manual pages for the libraries. If you're using a UNIX system, you can do: $ man EVP_EncryptInit as an example, to see the manual. Additionally, you can use google for man EVP_EncryptInit to find the man pages. I recommend starting here:

Re: Emptying the buffer

2008-02-15 Thread Joel Christner
, Joel On Fri, Feb 15, 2008 at 11:14 AM, David Schwartz [EMAIL PROTECTED] wrote: Joel Christner wrote: dataRead=recvfrom(connfd,readBuffer,sizeof(readBuffer),0,NULL,NULL); for (i=0;istrlen(readBuffer);i++) { Umm, you just stored the number of bytes read in 'dataRead'. Why are you passing

Re: Emptying the buffer

2008-02-14 Thread Joel Christner
Ok, I will change that. Can you provide any guidance on how to empty the buffer? Thanks On Thu, Feb 14, 2008 at 2:50 AM, jimmy bahuleyan [EMAIL PROTECTED] wrote: Joel Christner wrote: Hello, I have a simple client-server program and am using blowfish. I'm using the EVP_* routines

Re: Emptying the buffer

2008-02-14 Thread Joel Christner
Anyone have any ideas? Thanks On Wed, Feb 13, 2008 at 6:44 PM, Joel Christner [EMAIL PROTECTED] wrote: Hello, I have a simple client-server program and am using blowfish. I'm using the EVP_* routines to initialize, encrypt, and decrypt. Variable-length data is taken in from the client

Emptying the buffer

2008-02-13 Thread Joel Christner
Hello, I have a simple client-server program and am using blowfish. I'm using the EVP_* routines to initialize, encrypt, and decrypt. Variable-length data is taken in from the client through stdin and sent to the server socket after encryption. One question I have is how I clear what's already

Re: Compiling on a Mac

2008-02-07 Thread Joel Christner
As an aside, anyone have issues with unrecognized symbols EVP_CIPHER_CTX_block_size? I've tried including everything under the sun - evp.h, bio.h, err.h, rand.h, ssl.h, x509v3.h. On Feb 7, 2008 5:20 PM, Jeremy Farrell [EMAIL PROTECTED] wrote: From: Larry Bugbee The source for

Re: Compiling on a Mac

2008-02-06 Thread Joel Christner
Hi David, Yes indeed I do. I have seen that link before, but it doesn't contain the contents of incremental_send (this data is left hanging in limbo with nothing to do). My goal is to integrate this into a sockets application I'm using where there will indeed be a continuous stream of data.

Re: compiling a ssl

2008-02-06 Thread Joel Christner
Hi Gopinath, I'm having the same issue (not in VC++ though) What symbols are causing external reference errors for you? What command-line string are you using to try and compile your project w/ OpenSSL? Did you link ssl/crypto into your project? On Feb 6, 2008 1:51 AM, gopinath ethiraja

Re: Compiling on a Mac

2008-02-05 Thread Joel Christner
Hi David, The source for incremental_send isn't in the book anywhere that I've seen. I'm using the first edition (June 2002). My code does call incremental_send, and the code I'm trying to compile is the example code provided in the book itself (in chapter 6 - see example 6-4). The book

Re: Compiling on a Mac

2008-02-05 Thread Joel Christner
Can you share the code that you found, a link to it, or at least a hint as to which search engine you found it on? On Feb 5, 2008 8:01 PM, David Schwartz [EMAIL PROTECTED] wrote: The source for incremental_send isn't in the book anywhere that I've seen. Well then that explains the

Re: Compiling on a Mac

2008-02-05 Thread Joel Christner
Ummm, I realize that. I've tried hunting down where the incremental_send method is and I can't find it anywhere. Can you give some suggestions on the rational troubleshooting you recommend? I have no idea what the cc4DdydW.o file is, I'm assuming this is being produced by the compiler. Where is

Compiling on a Mac

2008-02-04 Thread Joel Christner
Hi everyone, I'm having a build issue on a Mac (10.5) that resembles the problem mentioned on the FAQ page: http://www.openssl.org/support/faq.html#BUILD9 I searched my HDD for a 'PROBLEMS' file and the only one I found was for emacs. mac# openssl version OpenSSL 0.9.7l 28 Sep 2006 The issue

Re: Compiling on a Mac

2008-02-04 Thread Joel Christner
to build a PPC version as well as an Intel version. Ted -Original Message- *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] Behalf Of *Joel Christner *Sent:* Sunday, February 03, 2008 1:14 PM *To:* openssl-users@openssl.org *Subject:* Re: Compiling on a Mac blowfish.c

Re: Compiling on a Mac

2008-02-04 Thread Joel Christner
Sorry I didn't update the list, but I tried with -lssl and -lcrypto, as well as -I/usr/include/openssl. I've reinstalled openssl to no avail. Any other thoughts? Thanks On Feb 4, 2008 9:43 AM, David Schwartz [EMAIL PROTECTED] wrote: On Feb 3, 2008 10:51 AM, David Schwartz [EMAIL PROTECTED]

Re: Compiling on a Mac

2008-02-04 Thread Joel Christner
Hi David, I'm down to symbol not defined for one item - incremental_send (and I can't find what file this is supposed to be in). I re-installed to /usr/include/openssl and used --prefix=/usr/include and --openssldir=/usr/include/openssl I'm trying to compile now with -lssl -lcrypto

Compiling on a Mac

2008-02-03 Thread Joel Christner
Hi everyone, I'm having a build issue on a Mac (10.5) that resembles the problem mentioned on the FAQ page: http://www.openssl.org/support/faq.html#BUILD9 I searched my HDD for a 'PROBLEMS' file and the only one I found was for emacs. Doesn't look like what I need. The issue I'm seeing is

Re: Compiling on a Mac

2008-02-03 Thread Joel Christner
blowfish.c is a progam I wrote which contained a series of methods for initializing, encrypting, and decrypting. Joel On Feb 3, 2008 10:51 AM, David Schwartz [EMAIL PROTECTED] wrote: mac# gcc blowfish.c -o blowfish Where did you get this command from and what was it supposed to

Re: Examples of blowfish.h code for C?

2007-11-01 Thread Joel Christner
Anyone? On 10/30/07, Joel Christner [EMAIL PROTECTED] wrote: Hello, Please pardon the newbie question. I was curious if anyone had any links or references that they could point me to for more details on how to use blowfish.h with C? I've gone through the man pages but was hoping

Examples of blowfish.h code for C?

2007-10-30 Thread Joel Christner
Hello, Please pardon the newbie question. I was curious if anyone had any links or references that they could point me to for more details on how to use blowfish.h with C? I've gone through the man pages but was hoping for something more intuitive, step-by-step, or outlining when to use