posix.cfg: Added nullPointer test for setkey()

This commit is contained in:
orbitcowboy 2022-12-22 09:36:18 +01:00
parent 24a71144f6
commit ea56359a3f
1 changed files with 7 additions and 1 deletions

View File

@ -8,7 +8,6 @@
//
#include <aio.h>
#include <stdlib.h>
#include <stdio.h> // <- FILE
#include <dirent.h>
#include <sys/mman.h>
@ -31,11 +30,18 @@
#include <stdbool.h>
#include <mqueue.h>
#define _XOPEN_SOURCE
#include <stdlib.h>
#include <unistd.h>
#include <wchar.h>
#include <string.h>
#include <strings.h>
void nullPointer_setkey(const char *key)
{
// cppcheck-suppress nullPointer
setkey(NULL);
}
void nullPointer_encrypt(char block[64], int edflag)
{
// cppcheck-suppress nullPointer