Skip to content

Commit 3b442ac

Browse files
committed
Mark pkcs11_raise() to never return
This is to satisfy security scanners.
1 parent 55c87e4 commit 3b442ac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/pk11.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ static VALUE aCK_MECHANISM_members;
3939

4040
VALUE pkcs11_return_value_to_class(CK_RV, VALUE);
4141

42+
NORETURN()
4243
static void
4344
pkcs11_raise(VALUE self, CK_RV rv)
4445
{

0 commit comments

Comments
 (0)