-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

omronz wrote:
| hmm, so you mean that these are function call statements? or is it a
function
| prototype? Yes, i was aware about the data type of the function prototype,
| but since I never tried OpenSSL before, so i just try and see the
error is.
| Silly me  :-)
|
| I tried to put the statement in the main block, but then an error message
| displayed "undefined reference to 'OpenSSL_add_all_algorithm" and
"undefined
| reference to 'SSL_load_error_strings'
|
| Is there any linkage i forgot to put? Anyway, thanks for the reply.

OpenSSL_add_all_algorithms() needs libcrypto,
SSL_load_error_strings() needs libssl, which needs libcrypto.

So at least with gcc the link line should contain -lssl -lcrypto

And please, this thread belongs into openssl-users...

Goetz

- --
DMCA: The greed of the few outweighs the freedom of the many
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKeFVZ2iGqZUF3qPYRAmjoAJ9FCs+fiKMEAsQ3UgK5KHxOiNaJCQCdGF4B
owqzzG/2ePO9aegThFYaC+U=
=18Ok
-----END PGP SIGNATURE-----
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to