Skip to content

Commit c0c5143

Browse files
JeremiahM37padelsbach
authored andcommitted
Fix PSS defaults pointer dereference
1 parent 64a1164 commit c0c5143

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wp_rsa_kmgmt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,7 @@ static int wp_rsa_pss_params_set_params(wp_RsaPssParams* pss,
767767

768768
WOLFPROV_ENTER(WP_LOG_COMP_RSA, "wp_rsa_pss_params_set_params");
769769

770-
if (!defaultsSet) {
770+
if (!*defaultsSet) {
771771
if (!wp_rsa_pss_params_set_pss_defaults(pss)) {
772772
ok = 0;
773773
}

0 commit comments

Comments
 (0)