This is an automated email from the ASF dual-hosted git repository.

vatamane pushed a commit to branch crypto-start-fix
in repository https://gitbox.apache.org/repos/asf/couchdb-rebar.git

commit 7d3ebf0da049f89dac8f5675d8917f12c0078c33
Author: Nick Vatamaniuc <vatam...@apache.org>
AuthorDate: Thu Jul 11 02:55:07 2024 -0400

    Replace crypto:start() with application:start(crypto).
    
    Likely related to https://github.com/erlang/otp/issues/8562
---
 src/rebar.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/rebar.erl b/src/rebar.erl
index d35e492..3b97f16 100644
--- a/src/rebar.erl
+++ b/src/rebar.erl
@@ -206,7 +206,7 @@ profile(_Config, _Commands, Profiler) ->
 
 run_aux(BaseConfig, Commands) ->
     %% Make sure crypto is running
-    case crypto:start() of
+    case application:start(crypto) of
         ok -> ok;
         {error,{already_started,crypto}} -> ok
     end,

Reply via email to