RE: Compiling on a Mac

2008-02-07 Thread Jeremy Farrell
From: Larry Bugbee 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

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-07 Thread Victor Duchovni
On Thu, Feb 07, 2008 at 05:42:59PM -0800, Joel Christner wrote: 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. This changed from a macro in older OpenSSL

RE: Compiling on a Mac

2008-02-06 Thread David Schwartz
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? http://www.cs.odu.edu/~cs772/sourcecode/NSwO/compiled/encdec.c There you go. I'm curious -- do you understand what the code you are compiling is supposed to actually *do*?

Re: Compiling on a Mac

2008-02-06 Thread Larry Bugbee
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 provides

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 on a Mac

2008-02-06 Thread David Schwartz
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). That is the contents of incremental_send. My goal is to integrate this into a sockets application I'm using where

Re: Compiling on a Mac

2008-02-05 Thread Kyle Hamilton
on Mac, dynamically-loaded libraries have the extension .dylib, not .so. On Feb 3, 2008, at 11:04 AM, Michael Sierchio wrote: Joel Christner wrote: The issue I'm seeing is when compiling: mac# openssl version OpenSSL 0.9.7l 28 Sep 2006 mac# gcc blowfish.c -o blowfish ... Undefined symbols:

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 David Schwartz
The source for incremental_send isn't in the book anywhere that I've seen. Well then that explains the problem. You are calling a function that does not exist. 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

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 David Schwartz
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). Well, you need to do that. I re-installed to /usr/include/openssl and used --prefix=/usr/include and --openssldir=/usr/include/openssl I'm trying to compile

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

RE: Compiling on a Mac

2008-02-05 Thread David Schwartz
Ummm, I realize that. I've tried hunting down where the incremental_send method is and I can't find it anywhere. It's in your book. Can you give some suggestions on the rational troubleshooting you recommend? Check your source code for references to incremental_send. You can use grep for

RE: Compiling on a Mac

2008-02-04 Thread Ted Mittelstaedt
: Sunday, February 03, 2008 1:14 PM To: openssl-users@openssl.org Subject: Re: Compiling on a Mac 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

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 David Schwartz
Sorry I didn't update the list, but I tried with -lssl and -lcrypto, as well as -I/usr/include/openssl. And what happened? Did you get the same error messages or different ones? I've reinstalled openssl to no avail. What directories did you install to? And did you tell your compiler/linker

RE: Compiling on a Mac

2008-02-04 Thread David Schwartz
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 accomplish? blowfish.c is a progam I wrote which contained a series of methods for initializing, encrypting, and decrypting.

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

RE: Compiling on a Mac

2008-02-03 Thread David Schwartz
mac# gcc blowfish.c -o blowfish Where did you get this command from and what was it supposed to accomplish? DS __ OpenSSL Project http://www.openssl.org User Support Mailing List

Re: Compiling on a Mac

2008-02-03 Thread Michael Sierchio
Joel Christner wrote: The issue I'm seeing is when compiling: mac# openssl version OpenSSL 0.9.7l 28 Sep 2006 mac# gcc blowfish.c -o blowfish ... Undefined symbols: Basic C compiler/linker usage error. gcc blowfish.c -o blowfish -Llocation of libcrypt.so -lcrypto or something very much

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