Skip to content

Commit

Permalink
ifndef BYO_CRYPTO (#144)
Browse files Browse the repository at this point in the history
* goto on_error;

* AWS_FATAL_ASSERT
  • Loading branch information
ilevyor authored Jul 20, 2021
1 parent e8f16cf commit dca8df1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/s3_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,8 @@ struct aws_s3_client *aws_s3_client_new(
aws_tls_connection_options_copy(client->tls_connection_options, client_config->tls_connection_options);
} else {
#ifdef BYO_CRYPTO
AWS_ASSERT(false);
AWS_FATAL_ASSERT(false);
goto on_error;
#else
struct aws_tls_ctx_options default_tls_ctx_options;
AWS_ZERO_STRUCT(default_tls_ctx_options);
Expand Down

0 comments on commit dca8df1

Please sign in to comment.