Skip to content

Commit 0cf80de

Browse files
MarcialRosalesmergify[bot]
authored andcommitted
Use the correct variable name
(cherry picked from commit 4c10999)
1 parent e2c5b28 commit 0cf80de

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

deps/rabbitmq_mqtt/src/rabbit_mqtt_processor.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2330,8 +2330,8 @@ extract_ssl_cert_client_id_settings() ->
23302330

23312331
extract_client_id_san_type(Mode) ->
23322332
{Mode,
2333-
application:get_env(?APP_NAME, ssl_cert_client_id_san_type, dns),
2334-
application:get_env(?APP_NAME, ssl_cert_client_id_san_index, 0)
2333+
application:get_env(?APP_NAME, ssl_cert_login_san_type, dns),
2334+
application:get_env(?APP_NAME, ssl_cert_login_san_index, 0)
23352335
}.
23362336

23372337

deps/rabbitmq_mqtt/test/auth_SUITE.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ mqtt_config(ssl_user_with_client_id_in_cert_san_dns) ->
205205
{rabbitmq_mqtt, [{ssl_cert_login, true},
206206
{allow_anonymous, false},
207207
{ssl_cert_client_id_from, subject_alternative_name},
208-
{ssl_cert_client_id_san_type, dns}]};
208+
{ssl_cert_login_san_type, dns}]};
209209
mqtt_config(ssl_user_with_client_id_in_cert_dn) ->
210210
{rabbitmq_mqtt, [{ssl_cert_login, true},
211211
{allow_anonymous, false},

0 commit comments

Comments
 (0)