From dcd504dba34027492dcf91b7494386149d3f852e Mon Sep 17 00:00:00 2001 From: Luca Succi Date: Fri, 17 Oct 2025 12:56:16 +0200 Subject: [PATCH] Add tls_options API call to main module --- src/grisp_cryptoauth.erl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/grisp_cryptoauth.erl b/src/grisp_cryptoauth.erl index d516b36..4564b40 100644 --- a/src/grisp_cryptoauth.erl +++ b/src/grisp_cryptoauth.erl @@ -12,7 +12,8 @@ write_cert/3, device_info/0, setup_device/0, - random_bytes/1]). + random_bytes/1, + tls_options/1]). %% Use for testing %% without API server @@ -246,6 +247,9 @@ random_bytes(Context, ChunksN, Acc) -> random_bytes(Context, ChunksN-1, [RandBytes | Acc]). +tls_options(Domain) -> + grisp_cryptoauth_tls:options(Domain). + %% --------------- %% Config handling %% ---------------