Skip to content

Commit 8bf41a1

Browse files
authored
Add tls_options API call to main module (#12)
1 parent 3619040 commit 8bf41a1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/grisp_cryptoauth.erl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
write_cert/3,
1313
device_info/0,
1414
setup_device/0,
15-
random_bytes/1]).
15+
random_bytes/1,
16+
tls_options/1]).
1617

1718
%% Use for testing
1819
%% without API server
@@ -246,6 +247,9 @@ random_bytes(Context, ChunksN, Acc) ->
246247
random_bytes(Context, ChunksN-1, [RandBytes | Acc]).
247248

248249

250+
tls_options(Domain) ->
251+
grisp_cryptoauth_tls:options(Domain).
252+
249253
%% ---------------
250254
%% Config handling
251255
%% ---------------

0 commit comments

Comments
 (0)