diff options
author | Sverker Eriksson <[email protected]> | 2012-10-22 18:22:23 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2012-10-22 18:22:23 +0200 |
commit | b7b4abaeac8e559a3a4f587d46dc0014332b517e (patch) | |
tree | 48c5918b1bdc4187ba5aab841cee299f06bd6ebb /lib/crypto/c_src/crypto_callback.h | |
parent | 8d502f8f98a89678448d16a8a15e744d65603f01 (diff) | |
download | otp-b7b4abaeac8e559a3a4f587d46dc0014332b517e.tar.gz otp-b7b4abaeac8e559a3a4f587d46dc0014332b517e.tar.bz2 otp-b7b4abaeac8e559a3a4f587d46dc0014332b517e.zip |
crypto: Link crypto_callback statically
if static linking of openssl is used.
Diffstat (limited to 'lib/crypto/c_src/crypto_callback.h')
-rw-r--r-- | lib/crypto/c_src/crypto_callback.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/crypto/c_src/crypto_callback.h b/lib/crypto/c_src/crypto_callback.h index a0c828b502..23ecba3e5d 100644 --- a/lib/crypto/c_src/crypto_callback.h +++ b/lib/crypto/c_src/crypto_callback.h @@ -40,3 +40,7 @@ struct crypto_callbacks typedef struct crypto_callbacks* get_crypto_callbacks_t(int nlocks); +#ifndef HAVE_DYNAMIC_CRYPTO_LIB +struct crypto_callbacks* get_crypto_callbacks(int nlocks); +#endif + |