Skip to content

Commit

Permalink
Use the correct variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcialRosales committed Oct 29, 2024
1 parent 444df00 commit 4c10999
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions deps/rabbitmq_mqtt/src/rabbit_mqtt_processor.erl
Original file line number Diff line number Diff line change
Expand Up @@ -2331,8 +2331,8 @@ extract_ssl_cert_client_id_settings() ->

extract_client_id_san_type(Mode) ->
{Mode,
application:get_env(?APP_NAME, ssl_cert_client_id_san_type, dns),
application:get_env(?APP_NAME, ssl_cert_client_id_san_index, 0)
application:get_env(?APP_NAME, ssl_cert_login_san_type, dns),
application:get_env(?APP_NAME, ssl_cert_login_san_index, 0)
}.


Expand Down
2 changes: 1 addition & 1 deletion deps/rabbitmq_mqtt/test/auth_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ mqtt_config(ssl_user_with_client_id_in_cert_san_dns) ->
{rabbitmq_mqtt, [{ssl_cert_login, true},
{allow_anonymous, false},
{ssl_cert_client_id_from, subject_alternative_name},
{ssl_cert_client_id_san_type, dns}]};
{ssl_cert_login_san_type, dns}]};
mqtt_config(ssl_user_with_client_id_in_cert_dn) ->
{rabbitmq_mqtt, [{ssl_cert_login, true},
{allow_anonymous, false},
Expand Down

0 comments on commit 4c10999

Please sign in to comment.