> However, when I want to link openssl from my application, linker > cannot resolve the functions that are archived into libcrypto, and as > I could see from the make command line outputs libcrypto is not > archived into libssl. > > Is it possible to combine libcrypto into libssl? Or is it worth to > force my application to link libcrypto besides libssl? > > In addition, why libcrypto is a generated to be a seperate library in > openssl software packet? > > Thanks in advice... >
I am linking libssl and libcrypto statically with my applications. As you said, libcrypto is not archieved in libssl, one has to link both the archieves saperately. Do you see any problem in linking libcrypto with you application? How would it be different than having libcrypto archieved in libssl? As Dan suggested, you need to link both the archieves with your application. use -lcrypto -lssl (and possibly -ldl). I believe libcrypto is restricted to the crypto algorithms, whereas libssl gives you ssl implementation. If one need only the crypto algorithms, one can link libcrypto only with the application. This seems to be the reason behind having two seperate libraries. DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Pvt. Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Pvt. Ltd. does not accept any liability for virus infected mails. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [email protected] Automated List Manager [EMAIL PROTECTED]
