posix.cfg: Added nullPointer test for setkey()
This commit is contained in:
parent
24a71144f6
commit
ea56359a3f
|
@ -8,7 +8,6 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
#include <aio.h>
|
#include <aio.h>
|
||||||
#include <stdlib.h>
|
|
||||||
#include <stdio.h> // <- FILE
|
#include <stdio.h> // <- FILE
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
|
@ -31,11 +30,18 @@
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <mqueue.h>
|
#include <mqueue.h>
|
||||||
#define _XOPEN_SOURCE
|
#define _XOPEN_SOURCE
|
||||||
|
#include <stdlib.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <wchar.h>
|
#include <wchar.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <strings.h>
|
#include <strings.h>
|
||||||
|
|
||||||
|
void nullPointer_setkey(const char *key)
|
||||||
|
{
|
||||||
|
// cppcheck-suppress nullPointer
|
||||||
|
setkey(NULL);
|
||||||
|
}
|
||||||
|
|
||||||
void nullPointer_encrypt(char block[64], int edflag)
|
void nullPointer_encrypt(char block[64], int edflag)
|
||||||
{
|
{
|
||||||
// cppcheck-suppress nullPointer
|
// cppcheck-suppress nullPointer
|
||||||
|
|
Loading…
Reference in New Issue