File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -980,7 +980,7 @@ sign(p_rsa, text_SV)
980980 CHECK_OPEN_SSL (ctx );
981981 CHECK_OPEN_SSL (EVP_PKEY_sign_init (ctx ));
982982 /* FIXME: Issue setting padding in some cases */
983- EVP_PKEY_CTX_set_rsa_padding (ctx , p_rsa -> padding );
983+ CHECK_OPEN_SSL ( EVP_PKEY_CTX_set_rsa_padding (ctx , p_rsa -> padding ) > 0 );
984984
985985 EVP_MD * md = get_md_bynid (p_rsa -> hashMode );
986986 CHECK_OPEN_SSL (md != NULL );
@@ -1040,7 +1040,7 @@ PPCODE:
10401040 CHECK_OPEN_SSL (ctx );
10411041 CHECK_OPEN_SSL (EVP_PKEY_verify_init (ctx ) == 1 );
10421042 /* FIXME: Issue setting padding in some cases */
1043- EVP_PKEY_CTX_set_rsa_padding (ctx , p_rsa -> padding );
1043+ CHECK_OPEN_SSL ( EVP_PKEY_CTX_set_rsa_padding (ctx , p_rsa -> padding ) > 0 );
10441044
10451045 EVP_MD * md = get_md_bynid (p_rsa -> hashMode );
10461046 CHECK_OPEN_SSL (md != NULL );
You can’t perform that action at this time.
0 commit comments