build an application with the openssl source code (not the shared libraries)

2010-06-24 Thread Andrei Dumitrescu
Hello,

I have somewhat experience with OpenSSL, and I've setup a client and a
server which use SSL connection objects to communicate, but what I want is
to compile my applications with the openssl source code (for example in ssl)
because I've added an extension to the code to allow me to send supplemental
data during the handshake (via a tool named DAA toolkit) and I do not want
to use the shared libraries.
Basically, I'm adding new things to the OpenSSL source, and to run them I
have to first build the shared libraries and then compile my programs
(client/server) with -lssl, -lcrypto and so. I just want to compile my apps
inside to openssl source, without any shared libraries, because otherwise I
always have to replace the original libraries on other systems with the
modified ones I have, in order to compile.

Does anyone know how to do this? Right now, I'm looking into the config
script, makefile... to see what should be changed. Do you know a faster
solution?

Thank you,

  Andrei D.


Re: build an application with the openssl source code (not the shared libraries)

2010-06-24 Thread Andrei Dumitrescu
Hello,

Thank you, that works :). I would like to use some macros to modify the flow
of the extension's operations, but, unfortunately, it seems the ones I
define in my application are ineffective for the code in the static library
(perhaps since that code is already compiled). However, for now, this is the
best (and fastest) solution.

Thank you,

  Andrei D.

On Thu, Jun 24, 2010 at 2:58 PM, Mounir IDRASSI mounir.idra...@idrix.netwrote:

 Hi Andrei,

 What about building the modified OpenSSL as static libraries and then link
 your apps with libcrypto.a and libssl.a?
 This way you will have no external dependency.

 Cheers,
 --
 Mounir IDRASSI
 IDRIX
 http://www.idrix.fr



 On 6/24/2010 12:24 PM, Andrei Dumitrescu wrote:

 Hello,

 I have somewhat experience with OpenSSL, and I've setup a client and a
 server which use SSL connection objects to communicate, but what I want is
 to compile my applications with the openssl source code (for example in
 ssl)
 because I've added an extension to the code to allow me to send
 supplemental
 data during the handshake (via a tool named DAA toolkit) and I do not want
 to use the shared libraries.
 Basically, I'm adding new things to the OpenSSL source, and to run them I
 have to first build the shared libraries and then compile my programs
 (client/server) with -lssl, -lcrypto and so. I just want to compile my
 apps
 inside to openssl source, without any shared libraries, because otherwise
 I
 always have to replace the original libraries on other systems with the
 modified ones I have, in order to compile.

 Does anyone know how to do this? Right now, I'm looking into the config
 script, makefile... to see what should be changed. Do you know a faster
 solution?

 Thank you,

   Andrei D.




 __
 OpenSSL Project http://www.openssl.org
 User Support Mailing Listopenssl-users@openssl.org
 Automated List Manager   majord...@openssl.org



supp data extensions

2010-06-07 Thread Andrei Dumitrescu
Hello,

Does anyone know if there is any support in OpenSSL for the transmission of
supplemental data during the SSL handshake? (for example, to implement a new
mechanism of authentication)

Thank you,
   A.D.