aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/c_src/crypto.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/crypto/c_src/crypto.c')
-rw-r--r--lib/crypto/c_src/crypto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crypto/c_src/crypto.c b/lib/crypto/c_src/crypto.c
index 27a0ebfd6b..fde3d99fa8 100644
--- a/lib/crypto/c_src/crypto.c
+++ b/lib/crypto/c_src/crypto.c
@@ -202,7 +202,7 @@ static int initialize(ErlNifEnv* env, ERL_NIF_TERM load_info)
}
if (!init_atoms(env, tpl_array[2], load_info)) {
- return 0;
+ return __LINE__;
}
#ifdef HAVE_DYNAMIC_CRYPTO_LIB