Skip to content

Commit

Permalink
calling aws_raise_error() was overriding the more useful underlying e…
Browse files Browse the repository at this point in the history
…rror that occurred during the attempt to create the pkcs11_handler
  • Loading branch information
sbSteveK committed Jan 8, 2024
1 parent 749c87e commit e76cf41
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion source/tls_channel_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,6 @@ int aws_tls_ctx_options_init_client_mtls_with_pkcs11(
int custom_key_result = AWS_OP_ERR;

if (pkcs11_handler == NULL) {
aws_raise_error(AWS_ERROR_INVALID_ARGUMENT);
goto finish;
}

Expand Down

0 comments on commit e76cf41

Please sign in to comment.