chore: happy elvis
This commit is contained in:
parent
8eb463c58d
commit
4e9c1ec0c9
|
@ -17,6 +17,7 @@
|
||||||
%%--------------------------------------------------------------------
|
%%--------------------------------------------------------------------
|
||||||
|
|
||||||
-module(emqx_const_v2).
|
-module(emqx_const_v2).
|
||||||
|
-elvis([{elvis_style, atom_naming_convention, #{regex => "^([a-z][a-z0-9A-Z]*_?)*(_SUITE)?$"}}]).
|
||||||
|
|
||||||
-export([
|
-export([
|
||||||
make_tls_root_fun/2,
|
make_tls_root_fun/2,
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
%%--------------------------------------------------------------------
|
%%--------------------------------------------------------------------
|
||||||
|
|
||||||
-module(emqx_tls_lib).
|
-module(emqx_tls_lib).
|
||||||
|
-elvis([{elvis_style, atom_naming_convention, #{regex => "^([a-z][a-z0-9A-Z]*_?)*(_SUITE)?$"}}]).
|
||||||
|
|
||||||
%% version & cipher suites
|
%% version & cipher suites
|
||||||
-export([
|
-export([
|
||||||
|
|
|
@ -300,8 +300,9 @@ t_conn_success_with_old_and_renewed_intermediate_cacert_bundle_and_client_using_
|
||||||
|
|
||||||
%% @doc: verify even if listener has old/new intermediate2 certs,
|
%% @doc: verify even if listener has old/new intermediate2 certs,
|
||||||
%% client1 should not able to connect with old intermediate2 cert.
|
%% client1 should not able to connect with old intermediate2 cert.
|
||||||
%% In this case, listener verify_fun returns {trusted_ca, Oldintermediate2Cert} but OTP should still fail the validation
|
%% In this case, listener verify_fun returns {trusted_ca, Oldintermediate2Cert} but
|
||||||
%% since the client1 cert is not signed by Oldintermediate2Cert (trusted CA cert).
|
%% OTP should still fail the validation since the client1 cert is not signed by
|
||||||
|
%% Oldintermediate2Cert (trusted CA cert).
|
||||||
%% @end
|
%% @end
|
||||||
t_fail_success_with_old_and_renewed_intermediate_cacert_bundle_and_client_using_all_CAcerts(Config) ->
|
t_fail_success_with_old_and_renewed_intermediate_cacert_bundle_and_client_using_all_CAcerts(Config) ->
|
||||||
Port = emqx_test_tls_certs_helper:select_free_port(ssl),
|
Port = emqx_test_tls_certs_helper:select_free_port(ssl),
|
||||||
|
|
Loading…
Reference in New Issue