Skip to content

Commit

Permalink
crypto: Anotate panic method with 'noreturn' attribute
Browse files Browse the repository at this point in the history
Signed-off-by: Siddharth Chandrasekaran <[email protected]>
  • Loading branch information
sidcha committed Aug 14, 2024
1 parent 2e27fea commit 77a30f5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/crypto/openssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@
#include <openssl/rand.h>
#include <openssl/err.h>

#include <utils/utils.h>

void osdp_crypt_setup()
{
}

void osdp_openssl_fatal(void)
void __noreturn osdp_openssl_fatal(void)
{
/**
* ERR_print_errors_fp(stderr) is not available when build as a shared
Expand Down

0 comments on commit 77a30f5

Please sign in to comment.