Skip to content

Commit e672bb4

Browse files
committed
Fix FFI_GUARD for rnp_signature_get_revocation_reason.
1 parent 0c20504 commit e672bb4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib/rnp.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6885,7 +6885,7 @@ FFI_GUARD
68856885

68866886
rnp_result_t
68876887
rnp_signature_get_revocation_reason(rnp_signature_handle_t sig, char **code, char **reason)
6888-
{
6888+
try {
68896889
if (!sig) {
68906890
return RNP_ERROR_NULL_POINTER;
68916891
}
@@ -6913,6 +6913,7 @@ rnp_signature_get_revocation_reason(rnp_signature_handle_t sig, char **code, cha
69136913
}
69146914
return RNP_SUCCESS;
69156915
}
6916+
FFI_GUARD
69166917

69176918
rnp_result_t
69186919
rnp_signature_is_valid(rnp_signature_handle_t sig, uint32_t flags)

0 commit comments

Comments
 (0)