diff --git a/src/common/common.h b/src/common/common.h index 95734aa9e..b15e244a3 100644 --- a/src/common/common.h +++ b/src/common/common.h @@ -85,18 +85,6 @@ extern "C" { } \ } while (0) -/** - * Macro for terminating the program if a given pointer is NULL. - * @param ptr The pointer to check. - * @param msg The error message to display if the pointer is NULL. - */ -#define LIBOQS_die(ptr, msg) do { \ - if (!(ptr)) { \ - fprintf(stderr, "%s\n", msg); \ - abort(); \ - } \ -} while (0) - /** * This macro is intended to replace those assert()s * involving side-effecting statements in aes/aes_ossl.c.