From dcbb1d2d2e07da8f3343b47eba1aeb1dfed70c7d Mon Sep 17 00:00:00 2001 From: Patrik Nyblom Date: Wed, 5 Jun 2013 15:06:55 +0200 Subject: Add enif_consume_timeslice to appropriate crypto NIFs --- lib/crypto/src/crypto.erl | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/crypto/src') diff --git a/lib/crypto/src/crypto.erl b/lib/crypto/src/crypto.erl index 5bd7015aef..a093b45410 100644 --- a/lib/crypto/src/crypto.erl +++ b/lib/crypto/src/crypto.erl @@ -164,6 +164,7 @@ -export([info/0]). -deprecated({info, 0, next_major_release}). +%% This should correspond to the similar macro in crypto.c -define(MAX_BYTES_TO_NIF, 20000). %% Current value is: erlang:system_info(context_reductions) * 10 -type mpint() :: binary(). -- cgit v1.2.3