diff --git a/source/tls_channel_handler.c b/source/tls_channel_handler.c index 5c6426872..f8e9945fa 100644 --- a/source/tls_channel_handler.c +++ b/source/tls_channel_handler.c @@ -261,7 +261,7 @@ int aws_tls_ctx_options_init_client_mtls_with_pkcs11( int aws_tls_ctx_options_set_keychain_path( struct aws_tls_ctx_options *options, - struct aws_byte_cursor *keychain_path_cursor) { + const struct aws_byte_cursor *keychain_path_cursor) { #if defined(__APPLE__) && !defined(AWS_OS_IOS) AWS_LOGF_WARN(AWS_LS_IO_TLS, "static: Keychain path is deprecated.");