aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2013-05-03 15:05:17 +0200
committerIngela Anderton Andin <[email protected]>2013-05-08 10:39:22 +0200
commitcadab5a955d2db70d42d9e8e9c9658ad3a46d472 (patch)
treed0950865dccb4fde3ba025b84b8421d7f4fcdf92
parentc5ae65889fc0dbaf12bbcabc93410245bbc11cc1 (diff)
downloadotp-cadab5a955d2db70d42d9e8e9c9658ad3a46d472.tar.gz
otp-cadab5a955d2db70d42d9e8e9c9658ad3a46d472.tar.bz2
otp-cadab5a955d2db70d42d9e8e9c9658ad3a46d472.zip
crypto: Remove debug printouts
-rw-r--r--lib/crypto/c_src/crypto.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/crypto/c_src/crypto.c b/lib/crypto/c_src/crypto.c
index 0129526303..9d43a1d907 100644
--- a/lib/crypto/c_src/crypto.c
+++ b/lib/crypto/c_src/crypto.c
@@ -3002,7 +3002,6 @@ static EC_KEY* ec_key_new(ErlNifEnv* env, ERL_NIF_TERM curve_arg)
EC_KEY_set_group(key, group);
}
else {
- printf("#3\n");
goto out_err;
}
@@ -3136,14 +3135,12 @@ static ERL_NIF_TERM term_to_ec_key_nif(ErlNifEnv* env, int argc, const ERL_NIF_T
if (!(argv[1] == atom_undefined || get_bn_from_bin(env, argv[1], &priv_key))
|| !(argv[2] == atom_undefined || enif_is_binary(env, argv[2]))) {
- printf("#1\n");
goto out_err;
}
key = ec_key_new(env, argv[0]);
if (!key) {
- printf("#4\n");
goto out_err;
}
@@ -3152,7 +3149,6 @@ static ERL_NIF_TERM term_to_ec_key_nif(ErlNifEnv* env, int argc, const ERL_NIF_T
if (term2point(env, argv[2], group, &pub_key)) {
if (!EC_KEY_set_public_key(key, pub_key)) {
- printf("#5\n");
goto out_err;
}
}