> Colin Chalmers wrote:
> After successfully compiling and testing the source code I am now
> trying to integrate the libraries into an application I am building in
> VC6, winnt 4.0 sp5 . Unfortunately Iam getting the following error
> 
> test.obj : error LNK2001: unresolved external symbol
> _SSLeay_add_ssl_algorithms
> Test.exe : fatal error LNK1120: 1 unresolved externals
> 
> Can anyone help me out on this?

Well, I can give it a try.

I'm assuming that "the source code" refers to OpenSSL-0.9.5a.

As far as I can tell, SSLeay_add_ssl_algorithms is defined in ssl.h as:

#define SSLeay_add_ssl_algorithms()     SSL_library_init()

SSL_library_init() is in the ssleay32 library, so including ssl.h and
linking with ssleay32.lib should do it.

//oscar

S/MIME Cryptographic Signature

Reply via email to