芦翔 wrote: > Dear all, > I am trying to add the security flavor to an application. To achieve > this objective, I wrote the codes to establish a security tunnel > between the server and the client with VC2008. When I build the whole > project, there are tens of similar errors. All of them are as follows: > > >SSLServer.obj : error LNK2019: unresolved external symbol _BIO_free > referenced in function "int __cdecl > SSL_CTX_use_PrivateKey_file_pass(struct ssl_ctx_st *,char *,char *)" > (?SSL_CTX_use_PrivateKey_file_pass@@YAHPAUssl_ctx_st@@p...@z > <mailto:?SSL_CTX_use_PrivateKey_file_pass@@YAHPAUssl_ctx_st@@p...@z>) the API's are C, not C++. for some reason your compiler is trying to turn them into C++ decorated methods. I thought __cdecl supressed this behavior but I stopped working in vc++ about 10 years ago.
______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org