diff --git a/res/res_stir_shaken/attestation_config.c b/res/res_stir_shaken/attestation_config.c index 7c74fe3cd4..d7efc9e475 100644 --- a/res/res_stir_shaken/attestation_config.c +++ b/res/res_stir_shaken/attestation_config.c @@ -179,7 +179,7 @@ int as_check_common_config(const char *id, struct attestation_cfg_common *acfg_c if (!ast_strlen_zero(acfg_common->private_key_file)) { EVP_PKEY *private_key; - RAII_VAR(unsigned char *, raw_key, NULL, ast_std_free); + RAII_VAR(unsigned char *, raw_key, NULL, ast_free); private_key = crypto_load_privkey_from_file(acfg_common->private_key_file); if (!private_key) {