On 5/7/06, William A. Rowe, Jr. <[EMAIL PROTECTED]> wrote:
Mike Ehlert wrote:
>
> but what I'm after now is some information on any tricks to compiling
> the DLL's with only the features needed for my application to reduce
> their size.

Typically one links to the static library then, which of course will only
link in .obj files that are consumed.  One bit of OpenSSL magic are the
seperate objects which create a (relatively) quite small binary.  That is,
if you use explicit methods, e.g. use TLSV1_server_init if you will only
respond with TLS, instead of SSLV23_server_init where you draw in much
more conditional code.

Bill
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Bill,

Are you saying that if I build and provide a package with static libs
and headers that an application could use this to compile smaller
binaries?

I will look for instructions on how to do this...

Chris Lewis
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to