Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- src/passmanager.c: In function ‘main’:
- src/passmanager.c:205:21: warning: pointer targets in passing argument 1 of ‘printSyntax’ differ in signedness [-Wpointer-sign]
- printSyntax(argv[0]);
- ^
- src/passmanager.c:129:5: note: expected ‘unsigned char *’ but argument is of type ‘char *’
- int printSyntax(unsigned char* arg); /*Print program usage and help*/
- ^
- src/passmanager.c:320:25: warning: pointer targets in passing argument 1 of ‘printSyntax’ differ in signedness [-Wpointer-sign]
- printSyntax("passmanager");
- ^
- src/passmanager.c:129:5: note: expected ‘unsigned char *’ but argument is of type ‘char *’
- int printSyntax(unsigned char* arg); /*Print program usage and help*/
- ^
- src/passmanager.c:361:20: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(entryName, optarg);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:377:20: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(entryName, optarg);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:390:20: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(entryName, optarg);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:404:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
- token = strtok(optarg, ":");
- ^
- src/passmanager.c:409:20: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(messageDigest1, token);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:409:36: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(messageDigest1, token);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:411:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
- token = strtok(NULL, ":");
- ^
- src/passmanager.c:413:20: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(messageDigest2, token);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:413:36: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(messageDigest2, token);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:416:20: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(messageDigestStore1, messageDigest1);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:416:41: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(messageDigestStore1, messageDigest1);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:417:20: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(messageDigestStore2, messageDigest2);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:417:41: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(messageDigestStore2, messageDigest2);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:432:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
- token = strtok(optarg, ":");
- ^
- src/passmanager.c:437:20: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(encCipher1, token);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:437:32: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(encCipher1, token);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:439:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
- token = strtok(NULL, ":");
- ^
- src/passmanager.c:441:20: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(encCipher2, token);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:441:32: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(encCipher2, token);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:444:20: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(encCipherStore1, encCipher1);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:444:37: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(encCipherStore1, encCipher1);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:445:20: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(encCipherStore2, encCipher2);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:445:37: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(encCipherStore2, encCipher2);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:459:24: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(dbFileName, optarg);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:469:24: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(dbFileName, optarg);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:478:24: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(dbFileName, optarg);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:487:24: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(dbFileName, optarg);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:496:24: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(dbFileName, optarg);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:510:20: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(entryName, optarg);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:525:20: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(entryNameToSearch, optarg);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:541:20: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(entryPass, optarg);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:550:20: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(dbPass, optarg);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:591:21: warning: pointer targets in passing argument 1 of ‘printSyntax’ differ in signedness [-Wpointer-sign]
- printSyntax("passmanger"); /*Print proper usage of program*/
- ^
- src/passmanager.c:129:5: note: expected ‘unsigned char *’ but argument is of type ‘char *’
- int printSyntax(unsigned char* arg); /*Print program usage and help*/
- ^
- src/passmanager.c:597:16: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(backupFileName, dbFileName);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:597:32: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(backupFileName, dbFileName);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:598:16: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign]
- strcat(backupFileName, ".autobak");
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:133:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcat (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:599:34: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign]
- FILE* backUpFile = fopen(backupFileName, "w");
- ^
- In file included from /usr/include/openssl/crypto.h:125:0,
- from src/passmanager.c:25:
- /usr/include/stdio.h:272:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern FILE *fopen (const char *__restrict __filename,
- ^
- src/passmanager.c:603:36: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign]
- FILE* copyFile = fopen(dbFileName, "r");
- ^
- In file included from /usr/include/openssl/crypto.h:125:0,
- from src/passmanager.c:25:
- /usr/include/stdio.h:272:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern FILE *fopen (const char *__restrict __filename,
- ^
- src/passmanager.c:644:20: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign]
- if (strcmp(entryPass, "gen") == 0) {
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:140:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int strcmp (const char *__s1, const char *__s2)
- ^
- src/passmanager.c:650:27: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign]
- } else if (strcmp(entryPass, "genalpha") == 0) {
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:140:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int strcmp (const char *__s1, const char *__s2)
- ^
- src/passmanager.c:658:59: warning: pointer targets in passing argument 2 of ‘getPass’ differ in signedness [-Wpointer-sign]
- getPass("Enter entry password to be saved: ", entryPass);
- ^
- src/passmanager.c:116:16: note: expected ‘char *’ but argument is of type ‘unsigned char *’
- unsigned char* getPass(const char* prompt, char* paddedPass); /*Function to retrive passwords with no echo*/
- ^
- src/passmanager.c:661:24: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign]
- if (strcmp(entryPass, "gen") == 0) {
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:140:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int strcmp (const char *__s1, const char *__s2)
- ^
- src/passmanager.c:668:31: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign]
- } else if (strcmp(entryPass, "genalpha") == 0) {
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:140:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int strcmp (const char *__s1, const char *__s2)
- ^
- src/passmanager.c:677:45: warning: pointer targets in passing argument 2 of ‘getPass’ differ in signedness [-Wpointer-sign]
- getPass("Verify password:", entryPassStore);
- ^
- src/passmanager.c:116:16: note: expected ‘char *’ but argument is of type ‘unsigned char *’
- unsigned char* getPass(const char* prompt, char* paddedPass); /*Function to retrive passwords with no echo*/
- ^
- src/passmanager.c:678:28: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign]
- if (strcmp(entryPass, entryPassStore) != 0) {
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:140:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int strcmp (const char *__s1, const char *__s2)
- ^
- src/passmanager.c:678:39: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign]
- if (strcmp(entryPass, entryPassStore) != 0) {
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:140:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int strcmp (const char *__s1, const char *__s2)
- ^
- src/passmanager.c:688:65: warning: pointer targets in passing argument 2 of ‘getPass’ differ in signedness [-Wpointer-sign]
- getPass("Enter database password to encode with: ", dbPass);
- ^
- src/passmanager.c:116:16: note: expected ‘char *’ but argument is of type ‘unsigned char *’
- unsigned char* getPass(const char* prompt, char* paddedPass); /*Function to retrive passwords with no echo*/
- ^
- src/passmanager.c:692:45: warning: pointer targets in passing argument 2 of ‘getPass’ differ in signedness [-Wpointer-sign]
- getPass("Verify password:", dbPassStore);
- ^
- src/passmanager.c:116:16: note: expected ‘char *’ but argument is of type ‘unsigned char *’
- unsigned char* getPass(const char* prompt, char* paddedPass); /*Function to retrive passwords with no echo*/
- ^
- src/passmanager.c:693:28: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign]
- if (strcmp(dbPass, dbPassStore) != 0) {
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:140:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int strcmp (const char *__s1, const char *__s2)
- ^
- src/passmanager.c:693:36: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign]
- if (strcmp(dbPass, dbPassStore) != 0) {
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:140:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int strcmp (const char *__s1, const char *__s2)
- ^
- src/passmanager.c:728:33: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign]
- EVP1DataFileTmp = fopen(tmpFile2, "a+");
- ^
- In file included from /usr/include/openssl/crypto.h:125:0,
- from src/passmanager.c:25:
- /usr/include/stdio.h:272:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern FILE *fopen (const char *__restrict __filename,
- ^
- src/passmanager.c:736:15: warning: pointer targets in passing argument 1 of ‘chmod’ differ in signedness [-Wpointer-sign]
- chmod(tmpFile2, S_IRUSR | S_IWUSR);
- ^
- In file included from src/passmanager.c:35:0:
- /usr/include/x86_64-linux-gnu/sys/stat.h:283:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int chmod (const char *__file, __mode_t __mode)
- ^
- src/passmanager.c:771:50: warning: pointer targets in passing argument 2 of ‘getPass’ differ in signedness [-Wpointer-sign]
- getPass("Enter database password: ", dbPass);
- ^
- src/passmanager.c:116:16: note: expected ‘char *’ but argument is of type ‘unsigned char *’
- unsigned char* getPass(const char* prompt, char* paddedPass); /*Function to retrive passwords with no echo*/
- ^
- src/passmanager.c:774:35: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign]
- EVP2EncryptedFile = fopen(dbFileName, "rb");
- ^
- In file included from /usr/include/openssl/crypto.h:125:0,
- from src/passmanager.c:25:
- /usr/include/stdio.h:272:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern FILE *fopen (const char *__restrict __filename,
- ^
- src/passmanager.c:782:35: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign]
- EVP2DecryptedFile = fopen(tmpFile1, "wb");
- ^
- In file included from /usr/include/openssl/crypto.h:125:0,
- from src/passmanager.c:25:
- /usr/include/stdio.h:272:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern FILE *fopen (const char *__restrict __filename,
- ^
- src/passmanager.c:790:15: warning: pointer targets in passing argument 1 of ‘chmod’ differ in signedness [-Wpointer-sign]
- chmod(tmpFile1, S_IRUSR | S_IWUSR);
- ^
- In file included from src/passmanager.c:35:0:
- /usr/include/x86_64-linux-gnu/sys/stat.h:283:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int chmod (const char *__file, __mode_t __mode)
- ^
- src/passmanager.c:800:33: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign]
- EVP1DataFileTmp = fopen(tmpFile2, "rb");
- ^
- In file included from /usr/include/openssl/crypto.h:125:0,
- from src/passmanager.c:25:
- /usr/include/stdio.h:272:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern FILE *fopen (const char *__restrict __filename,
- ^
- src/passmanager.c:807:15: warning: pointer targets in passing argument 1 of ‘chmod’ differ in signedness [-Wpointer-sign]
- chmod(tmpFile2, S_IRUSR | S_IWUSR);
- ^
- In file included from src/passmanager.c:35:0:
- /usr/include/x86_64-linux-gnu/sys/stat.h:283:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int chmod (const char *__file, __mode_t __mode)
- ^
- src/passmanager.c:814:47: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign]
- if (toggle.entrySearch == 1 && strcmp(entryName, "allpasses") != 0) /*Find a specific entry to print*/
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:140:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int strcmp (const char *__s1, const char *__s2)
- ^
- src/passmanager.c:820:54: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign]
- } else if (toggle.entrySearch == 1 && strcmp(entryName, "allpasses") == 0)
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:140:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int strcmp (const char *__s1, const char *__s2)
- ^
- src/passmanager.c:830:50: warning: pointer targets in passing argument 2 of ‘getPass’ differ in signedness [-Wpointer-sign]
- getPass("Enter database password: ", dbPass);
- ^
- src/passmanager.c:116:16: note: expected ‘char *’ but argument is of type ‘unsigned char *’
- unsigned char* getPass(const char* prompt, char* paddedPass); /*Function to retrive passwords with no echo*/
- ^
- src/passmanager.c:857:33: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign]
- EVP1DataFileTmp = fopen(tmpFile2, "rb+");
- ^
- In file included from /usr/include/openssl/crypto.h:125:0,
- from src/passmanager.c:25:
- /usr/include/stdio.h:272:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern FILE *fopen (const char *__restrict __filename,
- ^
- src/passmanager.c:864:15: warning: pointer targets in passing argument 1 of ‘chmod’ differ in signedness [-Wpointer-sign]
- chmod(tmpFile2, S_IRUSR | S_IWUSR);
- ^
- In file included from src/passmanager.c:35:0:
- /usr/include/x86_64-linux-gnu/sys/stat.h:283:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int chmod (const char *__file, __mode_t __mode)
- ^
- src/passmanager.c:890:50: warning: pointer targets in passing argument 2 of ‘getPass’ differ in signedness [-Wpointer-sign]
- getPass("Enter database password: ", dbPass);
- ^
- src/passmanager.c:116:16: note: expected ‘char *’ but argument is of type ‘unsigned char *’
- unsigned char* getPass(const char* prompt, char* paddedPass); /*Function to retrive passwords with no echo*/
- ^
- src/passmanager.c:895:20: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(newEntry, entryName);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:895:30: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(newEntry, entryName);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:898:20: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(newEntry, entryNameToSearch);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:898:30: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(newEntry, entryNameToSearch);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:909:24: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign]
- if (strcmp(entryPass, "gen") == 0) {
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:140:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int strcmp (const char *__s1, const char *__s2)
- ^
- src/passmanager.c:914:28: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(newEntryPass, entryPass);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:914:42: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(newEntryPass, entryPass);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:917:28: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(newEntryPass, entryPass);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:917:42: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(newEntryPass, entryPass);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:919:31: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign]
- } else if (strcmp(entryPass, "genalpha") == 0) {
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:140:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int strcmp (const char *__s1, const char *__s2)
- ^
- src/passmanager.c:924:28: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(newEntryPass, entryPass);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:924:42: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(newEntryPass, entryPass);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:927:28: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(newEntryPass, entryPass);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:927:42: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(newEntryPass, entryPass);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:932:63: warning: pointer targets in passing argument 2 of ‘getPass’ differ in signedness [-Wpointer-sign]
- getPass("Enter entry password to be saved: ", newEntryPass);
- ^
- src/passmanager.c:116:16: note: expected ‘char *’ but argument is of type ‘unsigned char *’
- unsigned char* getPass(const char* prompt, char* paddedPass); /*Function to retrive passwords with no echo*/
- ^
- src/passmanager.c:935:28: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign]
- if (strcmp(newEntryPass, "gen") == 0) {
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:140:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int strcmp (const char *__s1, const char *__s2)
- ^
- src/passmanager.c:941:32: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(newEntryPass, entryPass);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:941:46: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(newEntryPass, entryPass);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:944:32: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(newEntryPass, entryPass);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:944:46: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(newEntryPass, entryPass);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:946:35: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign]
- } else if (strcmp(newEntryPass, "genalpha") == 0) {
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:140:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int strcmp (const char *__s1, const char *__s2)
- ^
- src/passmanager.c:952:32: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(newEntryPass, entryPass);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:952:46: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(newEntryPass, entryPass);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:955:32: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(newEntryPass, entryPass);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:955:46: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(newEntryPass, entryPass);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:959:50: warning: pointer targets in passing argument 2 of ‘getPass’ differ in signedness [-Wpointer-sign]
- getPass("Veryify password:", newEntryPassStore);
- ^
- src/passmanager.c:116:16: note: expected ‘char *’ but argument is of type ‘unsigned char *’
- unsigned char* getPass(const char* prompt, char* paddedPass); /*Function to retrive passwords with no echo*/
- ^
- src/passmanager.c:960:32: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign]
- if (strcmp(newEntryPass, newEntryPassStore) != 0) {
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:140:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int strcmp (const char *__s1, const char *__s2)
- ^
- src/passmanager.c:960:46: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign]
- if (strcmp(newEntryPass, newEntryPassStore) != 0) {
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:140:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int strcmp (const char *__s1, const char *__s2)
- ^
- src/passmanager.c:968:24: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(newEntryPass, entryPass);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:968:38: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(newEntryPass, entryPass);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:987:33: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign]
- EVP1DataFileTmp = fopen(tmpFile2, "rb+");
- ^
- In file included from /usr/include/openssl/crypto.h:125:0,
- from src/passmanager.c:25:
- /usr/include/stdio.h:272:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern FILE *fopen (const char *__restrict __filename,
- ^
- src/passmanager.c:994:15: warning: pointer targets in passing argument 1 of ‘chmod’ differ in signedness [-Wpointer-sign]
- chmod(tmpFile2, S_IRUSR | S_IWUSR);
- ^
- In file included from src/passmanager.c:35:0:
- /usr/include/x86_64-linux-gnu/sys/stat.h:283:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int chmod (const char *__file, __mode_t __mode)
- ^
- src/passmanager.c:1022:58: warning: pointer targets in passing argument 2 of ‘getPass’ differ in signedness [-Wpointer-sign]
- getPass("Enter current database password: ", dbPass);
- ^
- src/passmanager.c:116:16: note: expected ‘char *’ but argument is of type ‘unsigned char *’
- unsigned char* getPass(const char* prompt, char* paddedPass); /*Function to retrive passwords with no echo*/
- ^
- src/passmanager.c:1031:33: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign]
- EVP1DataFileTmp = fopen(tmpFile2, "rb+");
- ^
- In file included from /usr/include/openssl/crypto.h:125:0,
- from src/passmanager.c:25:
- /usr/include/stdio.h:272:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern FILE *fopen (const char *__restrict __filename,
- ^
- src/passmanager.c:1038:15: warning: pointer targets in passing argument 1 of ‘chmod’ differ in signedness [-Wpointer-sign]
- chmod(tmpFile2, S_IRUSR | S_IWUSR);
- ^
- In file included from src/passmanager.c:35:0:
- /usr/include/x86_64-linux-gnu/sys/stat.h:283:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int chmod (const char *__file, __mode_t __mode)
- ^
- src/passmanager.c:1041:16: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(dbPassOld, dbPass);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:1041:27: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(dbPassOld, dbPass);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:1047:54: warning: pointer targets in passing argument 2 of ‘getPass’ differ in signedness [-Wpointer-sign]
- getPass("Enter new database password: ", dbPass);
- ^
- src/passmanager.c:116:16: note: expected ‘char *’ but argument is of type ‘unsigned char *’
- unsigned char* getPass(const char* prompt, char* paddedPass); /*Function to retrive passwords with no echo*/
- ^
- src/passmanager.c:1049:41: warning: pointer targets in passing argument 2 of ‘getPass’ differ in signedness [-Wpointer-sign]
- getPass("Verify password:", dbPassStore);
- ^
- src/passmanager.c:116:16: note: expected ‘char *’ but argument is of type ‘unsigned char *’
- unsigned char* getPass(const char* prompt, char* paddedPass); /*Function to retrive passwords with no echo*/
- ^
- src/passmanager.c:1050:24: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign]
- if (strcmp(dbPass, dbPassStore) != 0) {
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:140:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int strcmp (const char *__s1, const char *__s2)
- ^
- src/passmanager.c:1050:32: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign]
- if (strcmp(dbPass, dbPassStore) != 0) {
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:140:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int strcmp (const char *__s1, const char *__s2)
- ^
- src/passmanager.c:1053:24: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(dbPass, dbPassOld);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:1053:32: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(dbPass, dbPassOld);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:1065:24: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(encCipher1, encCipherStore1);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:1065:36: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(encCipher1, encCipherStore1);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:1066:24: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(encCipher2, encCipherStore2);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:1066:36: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(encCipher2, encCipherStore2);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:1070:24: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(messageDigest1, messageDigestStore2);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:1070:40: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(messageDigest1, messageDigestStore2);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:1071:24: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(messageDigest2, messageDigestStore2);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:1071:40: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(messageDigest2, messageDigestStore2);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:1078:24: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(encCipher1, encCipherStore1);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:1078:36: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(encCipher1, encCipherStore1);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:1079:24: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(encCipher2, encCipherStore2);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:1079:36: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(encCipher2, encCipherStore2);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:1083:24: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(messageDigest1, messageDigestStore1);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:1083:40: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(messageDigest1, messageDigestStore1);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:1084:24: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(messageDigest2, messageDigestStore2);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:1084:40: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(messageDigest2, messageDigestStore2);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:1092:54: warning: pointer targets in passing argument 2 of ‘getPass’ differ in signedness [-Wpointer-sign]
- getPass("Enter new database password: ", dbPass);
- ^
- src/passmanager.c:116:16: note: expected ‘char *’ but argument is of type ‘unsigned char *’
- unsigned char* getPass(const char* prompt, char* paddedPass); /*Function to retrive passwords with no echo*/
- ^
- src/passmanager.c:1094:41: warning: pointer targets in passing argument 2 of ‘getPass’ differ in signedness [-Wpointer-sign]
- getPass("Verify password:", dbPassStore);
- ^
- src/passmanager.c:116:16: note: expected ‘char *’ but argument is of type ‘unsigned char *’
- unsigned char* getPass(const char* prompt, char* paddedPass); /*Function to retrive passwords with no echo*/
- ^
- src/passmanager.c:1095:24: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign]
- if (strcmp(dbPass, dbPassStore) != 0) {
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:140:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int strcmp (const char *__s1, const char *__s2)
- ^
- src/passmanager.c:1095:32: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign]
- if (strcmp(dbPass, dbPassStore) != 0) {
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:140:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int strcmp (const char *__s1, const char *__s2)
- ^
- src/passmanager.c:1097:24: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(dbPass, dbPassOld);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:1097:32: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(dbPass, dbPassOld);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:1109:24: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(encCipher1, encCipherStore1);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:1109:36: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(encCipher1, encCipherStore1);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:1110:24: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(encCipher2, encCipherStore2);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:1110:36: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(encCipher2, encCipherStore2);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:1114:24: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(messageDigest1, messageDigestStore1);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:1114:40: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(messageDigest1, messageDigestStore1);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:1115:24: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(messageDigest2, messageDigestStore2);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:1115:40: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(messageDigest2, messageDigestStore2);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:1142:21: warning: pointer targets in passing argument 1 of ‘printSyntax’ differ in signedness [-Wpointer-sign]
- printSyntax("passmanager"); /*Just in case something else happens...*/
- ^
- src/passmanager.c:129:5: note: expected ‘unsigned char *’ but argument is of type ‘char *’
- int printSyntax(unsigned char* arg); /*Print program usage and help*/
- ^
- src/passmanager.c: In function ‘printPasses’:
- src/passmanager.c:1247:59: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
- if (strncmp(searchString, entryBuffer, strlen(searchString)) == 0) {
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern size_t strlen (const char *__s)
- ^
- src/passmanager.c:1247:25: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign]
- if (strncmp(searchString, entryBuffer, strlen(searchString)) == 0) {
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:143:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int strncmp (const char *__s1, const char *__s2, size_t __n)
- ^
- src/passmanager.c:1247:39: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness [-Wpointer-sign]
- if (strncmp(searchString, entryBuffer, strlen(searchString)) == 0) {
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:143:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int strncmp (const char *__s1, const char *__s2, size_t __n)
- ^
- src/passmanager.c: In function ‘updateEntry’:
- src/passmanager.c:1382:68: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
- if ((lastCheck = strncmp(searchString, entryBuffer, strlen(searchString))) == 0 || toggle.allPasses == 1) {
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern size_t strlen (const char *__s)
- ^
- src/passmanager.c:1382:34: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign]
- if ((lastCheck = strncmp(searchString, entryBuffer, strlen(searchString))) == 0 || toggle.allPasses == 1) {
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:143:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int strncmp (const char *__s1, const char *__s2, size_t __n)
- ^
- src/passmanager.c:1382:48: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness [-Wpointer-sign]
- if ((lastCheck = strncmp(searchString, entryBuffer, strlen(searchString))) == 0 || toggle.allPasses == 1) {
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:143:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int strncmp (const char *__s1, const char *__s2, size_t __n)
- ^
- src/passmanager.c:1394:40: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
- for (i = 0; i < strlen(passBuffer); i++) {
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern size_t strlen (const char *__s)
- ^
- src/passmanager.c:1417:28: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(newEntryPass, entryPass);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:1417:42: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(newEntryPass, entryPass);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:1420:28: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(newEntryPass, entryPass);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:1420:42: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(newEntryPass, entryPass);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:1427:28: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(newEntryPass, entryPass);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:1427:42: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(newEntryPass, entryPass);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:1430:28: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(newEntryPass, entryPass);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:1430:42: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(newEntryPass, entryPass);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:1521:21: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign]
- tmpFile = fopen(tmpFile3, "wb");
- ^
- In file included from /usr/include/openssl/crypto.h:125:0,
- from src/passmanager.c:25:
- /usr/include/stdio.h:272:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern FILE *fopen (const char *__restrict __filename,
- ^
- src/passmanager.c:1526:11: warning: pointer targets in passing argument 1 of ‘chmod’ differ in signedness [-Wpointer-sign]
- chmod(tmpFile3, S_IRUSR | S_IWUSR);
- ^
- In file included from src/passmanager.c:35:0:
- /usr/include/x86_64-linux-gnu/sys/stat.h:283:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int chmod (const char *__file, __mode_t __mode)
- ^
- src/passmanager.c: In function ‘deletePass’:
- src/passmanager.c:1659:68: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
- if ((lastCheck = strncmp(searchString, entryBuffer, strlen(searchString))) == 0) /*Now we're going to find the specific entry to delete it*/
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern size_t strlen (const char *__s)
- ^
- src/passmanager.c:1659:34: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign]
- if ((lastCheck = strncmp(searchString, entryBuffer, strlen(searchString))) == 0) /*Now we're going to find the specific entry to delete it*/
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:143:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int strncmp (const char *__s1, const char *__s2, size_t __n)
- ^
- src/passmanager.c:1659:48: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness [-Wpointer-sign]
- if ((lastCheck = strncmp(searchString, entryBuffer, strlen(searchString))) == 0) /*Now we're going to find the specific entry to delete it*/
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:143:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int strncmp (const char *__s1, const char *__s2, size_t __n)
- ^
- src/passmanager.c:1745:21: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign]
- tmpFile = fopen(tmpFile3, "wb");
- ^
- In file included from /usr/include/openssl/crypto.h:125:0,
- from src/passmanager.c:25:
- /usr/include/stdio.h:272:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern FILE *fopen (const char *__restrict __filename,
- ^
- src/passmanager.c:1750:11: warning: pointer targets in passing argument 1 of ‘chmod’ differ in signedness [-Wpointer-sign]
- chmod(tmpFile3, S_IRUSR | S_IWUSR);
- ^
- In file included from src/passmanager.c:35:0:
- /usr/include/x86_64-linux-gnu/sys/stat.h:283:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int chmod (const char *__file, __mode_t __mode)
- ^
- src/passmanager.c: In function ‘updateEncPass’:
- src/passmanager.c:1901:21: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign]
- tmpFile = fopen(tmpFile3, "wb"); /*Now open a temp file just to write the new evp1 data to, clean up in the calling function*/
- ^
- In file included from /usr/include/openssl/crypto.h:125:0,
- from src/passmanager.c:25:
- /usr/include/stdio.h:272:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern FILE *fopen (const char *__restrict __filename,
- ^
- src/passmanager.c:1907:11: warning: pointer targets in passing argument 1 of ‘chmod’ differ in signedness [-Wpointer-sign]
- chmod(tmpFile3, S_IRUSR | S_IWUSR);
- ^
- In file included from src/passmanager.c:35:0:
- /usr/include/x86_64-linux-gnu/sys/stat.h:283:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int chmod (const char *__file, __mode_t __mode)
- ^
- src/passmanager.c: In function ‘writePass’:
- src/passmanager.c:2132:24: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign]
- dbFile = fopen(tmpFile2, "wb");
- ^
- In file included from /usr/include/openssl/crypto.h:125:0,
- from src/passmanager.c:25:
- /usr/include/stdio.h:272:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern FILE *fopen (const char *__restrict __filename,
- ^
- src/passmanager.c: In function ‘wipeFile’:
- src/passmanager.c:2164:29: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign]
- fileToWrite = fopen(filename, "w+");
- ^
- In file included from /usr/include/openssl/crypto.h:125:0,
- from src/passmanager.c:25:
- /usr/include/stdio.h:272:14: note: expected ‘const char * restrict’ but argument is of type ‘const unsigned char *’
- extern FILE *fopen (const char *__restrict __filename,
- ^
- src/passmanager.c: In function ‘doesFileExist’:
- src/passmanager.c:2194:23: warning: pointer targets in passing argument 1 of ‘stat’ differ in signedness [-Wpointer-sign]
- int result = stat(filename, &st);
- ^
- In file included from src/passmanager.c:35:0:
- /usr/include/x86_64-linux-gnu/sys/stat.h:208:12: note: expected ‘const char * restrict’ but argument is of type ‘const unsigned char *’
- extern int stat (const char *__restrict __file,
- ^
- src/passmanager.c: In function ‘returnFileSize’:
- src/passmanager.c:2202:10: warning: pointer targets in passing argument 1 of ‘stat’ differ in signedness [-Wpointer-sign]
- stat(filename, &st);
- ^
- In file included from src/passmanager.c:35:0:
- /usr/include/x86_64-linux-gnu/sys/stat.h:208:12: note: expected ‘const char * restrict’ but argument is of type ‘const unsigned char *’
- extern int stat (const char *__restrict __file,
- ^
- src/passmanager.c: In function ‘primeSSL’:
- src/passmanager.c:2351:25: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
- for (i = strlen(encCipher1); i > 0; i--) {
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern size_t strlen (const char *__s)
- ^
- src/passmanager.c:2364:33: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
- modeLength = strlen(encCipher1) - stringStart;
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern size_t strlen (const char *__s)
- ^
- src/passmanager.c:2373:24: warning: pointer targets in passing argument 1 of ‘strcasecmp’ differ in signedness [-Wpointer-sign]
- if (strcasecmp(modeTag, "ofb") == 0 || strcasecmp(modeTag, "cfb") >= 0 || strcasecmp(modeTag, "ctr") == 0) {
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:529:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int strcasecmp (const char *__s1, const char *__s2)
- ^
- src/passmanager.c:2373:59: warning: pointer targets in passing argument 1 of ‘strcasecmp’ differ in signedness [-Wpointer-sign]
- if (strcasecmp(modeTag, "ofb") == 0 || strcasecmp(modeTag, "cfb") >= 0 || strcasecmp(modeTag, "ctr") == 0) {
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:529:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int strcasecmp (const char *__s1, const char *__s2)
- ^
- src/passmanager.c:2373:94: warning: pointer targets in passing argument 1 of ‘strcasecmp’ differ in signedness [-Wpointer-sign]
- if (strcasecmp(modeTag, "ofb") == 0 || strcasecmp(modeTag, "cfb") >= 0 || strcasecmp(modeTag, "ctr") == 0) {
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:529:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int strcasecmp (const char *__s1, const char *__s2)
- ^
- src/passmanager.c:2374:47: warning: pointer targets in passing argument 1 of ‘EVP_get_cipherbyname’ differ in signedness [-Wpointer-sign]
- evpCipher1 = EVP_get_cipherbyname(encCipher1);
- ^
- In file included from src/passmanager.c:26:0:
- /usr/include/openssl/evp.h:925:19: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- const EVP_CIPHER *EVP_get_cipherbyname(const char *name);
- ^
- src/passmanager.c:2380:25: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
- for (i = strlen(encCipher2); i > 0; i--) {
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern size_t strlen (const char *__s)
- ^
- src/passmanager.c:2392:33: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
- modeLength = strlen(encCipher2) - stringStart;
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern size_t strlen (const char *__s)
- ^
- src/passmanager.c:2401:24: warning: pointer targets in passing argument 1 of ‘strcasecmp’ differ in signedness [-Wpointer-sign]
- if (strcasecmp(modeTag, "ofb") == 0 || strcasecmp(modeTag, "cfb") >= 0 || strcasecmp(modeTag, "ctr") == 0) {
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:529:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int strcasecmp (const char *__s1, const char *__s2)
- ^
- src/passmanager.c:2401:59: warning: pointer targets in passing argument 1 of ‘strcasecmp’ differ in signedness [-Wpointer-sign]
- if (strcasecmp(modeTag, "ofb") == 0 || strcasecmp(modeTag, "cfb") >= 0 || strcasecmp(modeTag, "ctr") == 0) {
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:529:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int strcasecmp (const char *__s1, const char *__s2)
- ^
- src/passmanager.c:2401:94: warning: pointer targets in passing argument 1 of ‘strcasecmp’ differ in signedness [-Wpointer-sign]
- if (strcasecmp(modeTag, "ofb") == 0 || strcasecmp(modeTag, "cfb") >= 0 || strcasecmp(modeTag, "ctr") == 0) {
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:529:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int strcasecmp (const char *__s1, const char *__s2)
- ^
- src/passmanager.c:2402:47: warning: pointer targets in passing argument 1 of ‘EVP_get_cipherbyname’ differ in signedness [-Wpointer-sign]
- evpCipher2 = EVP_get_cipherbyname(encCipher2);
- ^
- In file included from src/passmanager.c:26:0:
- /usr/include/openssl/evp.h:925:19: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- const EVP_CIPHER *EVP_get_cipherbyname(const char *name);
- ^
- src/passmanager.c:2413:43: warning: pointer targets in passing argument 1 of ‘EVP_get_cipherbyname’ differ in signedness [-Wpointer-sign]
- evpCipher2 = EVP_get_cipherbyname(encCipher2);
- ^
- In file included from src/passmanager.c:26:0:
- /usr/include/openssl/evp.h:925:19: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- const EVP_CIPHER *EVP_get_cipherbyname(const char *name);
- ^
- src/passmanager.c:2421:16: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(encCipher2, "aes-256-ctr");
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:2422:43: warning: pointer targets in passing argument 1 of ‘EVP_get_cipherbyname’ differ in signedness [-Wpointer-sign]
- evpCipher2 = EVP_get_cipherbyname(encCipher2);
- ^
- In file included from src/passmanager.c:26:0:
- /usr/include/openssl/evp.h:925:19: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- const EVP_CIPHER *EVP_get_cipherbyname(const char *name);
- ^
- src/passmanager.c:2427:16: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(encCipher1, "camellia-256-ofb");
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:2428:43: warning: pointer targets in passing argument 1 of ‘EVP_get_cipherbyname’ differ in signedness [-Wpointer-sign]
- evpCipher1 = EVP_get_cipherbyname(encCipher1);
- ^
- In file included from src/passmanager.c:26:0:
- /usr/include/openssl/evp.h:925:19: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- const EVP_CIPHER *EVP_get_cipherbyname(const char *name);
- ^
- src/passmanager.c:2437:43: warning: pointer targets in passing argument 1 of ‘EVP_get_digestbyname’ differ in signedness [-Wpointer-sign]
- evpDigest1 = EVP_get_digestbyname(messageDigest1);
- ^
- In file included from src/passmanager.c:26:0:
- /usr/include/openssl/evp.h:926:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- const EVP_MD *EVP_get_digestbyname(const char *name);
- ^
- src/passmanager.c:2442:43: warning: pointer targets in passing argument 1 of ‘EVP_get_digestbyname’ differ in signedness [-Wpointer-sign]
- evpDigest2 = EVP_get_digestbyname(messageDigest2);
- ^
- In file included from src/passmanager.c:26:0:
- /usr/include/openssl/evp.h:926:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- const EVP_MD *EVP_get_digestbyname(const char *name);
- ^
- src/passmanager.c:2448:16: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(messageDigest2, "sha512");
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:2449:43: warning: pointer targets in passing argument 1 of ‘EVP_get_digestbyname’ differ in signedness [-Wpointer-sign]
- evpDigest2 = EVP_get_digestbyname(messageDigest2);
- ^
- In file included from src/passmanager.c:26:0:
- /usr/include/openssl/evp.h:926:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- const EVP_MD *EVP_get_digestbyname(const char *name);
- ^
- src/passmanager.c:2454:16: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(messageDigest1, "whirlpool");
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:2455:43: warning: pointer targets in passing argument 1 of ‘EVP_get_digestbyname’ differ in signedness [-Wpointer-sign]
- evpDigest1 = EVP_get_digestbyname(messageDigest1);
- ^
- In file included from src/passmanager.c:26:0:
- /usr/include/openssl/evp.h:926:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- const EVP_MD *EVP_get_digestbyname(const char *name);
- ^
- src/passmanager.c: In function ‘sealEnvelope’:
- src/passmanager.c:2479:29: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign]
- EVP1DataFileTmp = fopen(tmpFileToUse, "rb");
- ^
- In file included from /usr/include/openssl/crypto.h:125:0,
- from src/passmanager.c:25:
- /usr/include/stdio.h:272:14: note: expected ‘const char * restrict’ but argument is of type ‘const unsigned char *’
- extern FILE *fopen (const char *__restrict __filename,
- ^
- src/passmanager.c:2484:11: warning: pointer targets in passing argument 1 of ‘chmod’ differ in signedness [-Wpointer-sign]
- chmod(tmpFileToUse, S_IRUSR | S_IWUSR);
- ^
- In file included from src/passmanager.c:35:0:
- /usr/include/x86_64-linux-gnu/sys/stat.h:283:12: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’
- extern int chmod (const char *__file, __mode_t __mode)
- ^
- src/passmanager.c:2489:29: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign]
- EVP1DataFileTmp = fopen(tmpFileToUse, "ab");
- ^
- In file included from /usr/include/openssl/crypto.h:125:0,
- from src/passmanager.c:25:
- /usr/include/stdio.h:272:14: note: expected ‘const char * restrict’ but argument is of type ‘const unsigned char *’
- extern FILE *fopen (const char *__restrict __filename,
- ^
- src/passmanager.c:2495:11: warning: pointer targets in passing argument 1 of ‘chmod’ differ in signedness [-Wpointer-sign]
- chmod(tmpFileToUse, S_IRUSR | S_IWUSR);
- ^
- In file included from src/passmanager.c:35:0:
- /usr/include/x86_64-linux-gnu/sys/stat.h:283:12: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’
- extern int chmod (const char *__file, __mode_t __mode)
- ^
- src/passmanager.c:2510:31: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign]
- EVP2DecryptedFile = fopen(tmpFileToUse, "rb");
- ^
- In file included from /usr/include/openssl/crypto.h:125:0,
- from src/passmanager.c:25:
- /usr/include/stdio.h:272:14: note: expected ‘const char * restrict’ but argument is of type ‘const unsigned char *’
- extern FILE *fopen (const char *__restrict __filename,
- ^
- src/passmanager.c:2515:11: warning: pointer targets in passing argument 1 of ‘chmod’ differ in signedness [-Wpointer-sign]
- chmod(tmpFileToUse, S_IRUSR | S_IWUSR);
- ^
- In file included from src/passmanager.c:35:0:
- /usr/include/x86_64-linux-gnu/sys/stat.h:283:12: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’
- extern int chmod (const char *__file, __mode_t __mode)
- ^
- src/passmanager.c:2518:20: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign]
- dbFile = fopen(dbFileName, "wb");
- ^
- In file included from /usr/include/openssl/crypto.h:125:0,
- from src/passmanager.c:25:
- /usr/include/stdio.h:272:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern FILE *fopen (const char *__restrict __filename,
- ^
- src/passmanager.c:2527:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign]
- sprintf(cryptoBuffer, "%s:%s:%s:%s", encCipher1, messageDigest1, encCipher2, messageDigest2);
- ^
- In file included from /usr/include/openssl/crypto.h:125:0,
- from src/passmanager.c:25:
- /usr/include/stdio.h:364:12: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern int sprintf (char *__restrict __s,
- ^
- src/passmanager.c: In function ‘openEnvelope’:
- src/passmanager.c:2603:31: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign]
- EVP2EncryptedFile = fopen(dbFileName, "rb");
- ^
- In file included from /usr/include/openssl/crypto.h:125:0,
- from src/passmanager.c:25:
- /usr/include/stdio.h:272:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern FILE *fopen (const char *__restrict __filename,
- ^
- src/passmanager.c:2647:20: warning: pointer targets in passing argument 1 of ‘strtok’ differ in signedness [-Wpointer-sign]
- token = strtok(cryptoHeader, ":");
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:343:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strtok (char *__restrict __s, const char *__restrict __delim)
- ^
- src/passmanager.c:2647:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
- token = strtok(cryptoHeader, ":");
- ^
- src/passmanager.c:2652:12: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(encCipher1, token);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:2652:24: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(encCipher1, token);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:2654:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
- token = strtok(NULL, ":");
- ^
- src/passmanager.c:2662:12: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(messageDigest1, token);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:2662:28: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(messageDigest1, token);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:2664:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
- token = strtok(NULL, ":");
- ^
- src/passmanager.c:2672:12: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(encCipher2, token);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:2672:24: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(encCipher2, token);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:2674:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
- token = strtok(NULL, ":");
- ^
- src/passmanager.c:2677:12: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(messageDigest2, token);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:2677:28: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(messageDigest2, token);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:2680:39: warning: pointer targets in passing argument 1 of ‘EVP_get_cipherbyname’ differ in signedness [-Wpointer-sign]
- evpCipher1 = EVP_get_cipherbyname(encCipher1);
- ^
- In file included from src/passmanager.c:26:0:
- /usr/include/openssl/evp.h:925:19: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- const EVP_CIPHER *EVP_get_cipherbyname(const char *name);
- ^
- src/passmanager.c:2687:39: warning: pointer targets in passing argument 1 of ‘EVP_get_digestbyname’ differ in signedness [-Wpointer-sign]
- evpDigest1 = EVP_get_digestbyname(messageDigest1);
- ^
- In file included from src/passmanager.c:26:0:
- /usr/include/openssl/evp.h:926:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- const EVP_MD *EVP_get_digestbyname(const char *name);
- ^
- src/passmanager.c:2693:39: warning: pointer targets in passing argument 1 of ‘EVP_get_cipherbyname’ differ in signedness [-Wpointer-sign]
- evpCipher2 = EVP_get_cipherbyname(encCipher2);
- ^
- In file included from src/passmanager.c:26:0:
- /usr/include/openssl/evp.h:925:19: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- const EVP_CIPHER *EVP_get_cipherbyname(const char *name);
- ^
- src/passmanager.c:2699:39: warning: pointer targets in passing argument 1 of ‘EVP_get_digestbyname’ differ in signedness [-Wpointer-sign]
- evpDigest2 = EVP_get_digestbyname(messageDigest2);
- ^
- In file included from src/passmanager.c:26:0:
- /usr/include/openssl/evp.h:926:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- const EVP_MD *EVP_get_digestbyname(const char *name);
- ^
- src/passmanager.c:2723:29: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign]
- EVP1DataFileTmp = fopen(tmpFile1, "wb");
- ^
- In file included from /usr/include/openssl/crypto.h:125:0,
- from src/passmanager.c:25:
- /usr/include/stdio.h:272:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern FILE *fopen (const char *__restrict __filename,
- ^
- src/passmanager.c:2730:11: warning: pointer targets in passing argument 1 of ‘chmod’ differ in signedness [-Wpointer-sign]
- chmod(tmpFile1, S_IRUSR | S_IWUSR);
- ^
- In file included from src/passmanager.c:35:0:
- /usr/include/x86_64-linux-gnu/sys/stat.h:283:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int chmod (const char *__file, __mode_t __mode)
- ^
- src/passmanager.c:2738:16: warning: pointer targets in passing argument 1 of ‘remove’ differ in signedness [-Wpointer-sign]
- remove(tmpFile1);
- ^
- In file included from /usr/include/openssl/crypto.h:125:0,
- from src/passmanager.c:25:
- /usr/include/stdio.h:178:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int remove (const char *__filename) __THROW;
- ^
- src/passmanager.c:2747:31: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign]
- EVP2DecryptedFile = fopen(tmpFile1, "rb");
- ^
- In file included from /usr/include/openssl/crypto.h:125:0,
- from src/passmanager.c:25:
- /usr/include/stdio.h:272:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern FILE *fopen (const char *__restrict __filename,
- ^
- src/passmanager.c:2754:11: warning: pointer targets in passing argument 1 of ‘chmod’ differ in signedness [-Wpointer-sign]
- chmod(tmpFile1, S_IRUSR | S_IWUSR);
- ^
- In file included from src/passmanager.c:35:0:
- /usr/include/x86_64-linux-gnu/sys/stat.h:283:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int chmod (const char *__file, __mode_t __mode)
- ^
- src/passmanager.c:2757:29: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign]
- EVP1DataFileTmp = fopen(tmpFile2, "wb");
- ^
- In file included from /usr/include/openssl/crypto.h:125:0,
- from src/passmanager.c:25:
- /usr/include/stdio.h:272:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern FILE *fopen (const char *__restrict __filename,
- ^
- src/passmanager.c:2763:11: warning: pointer targets in passing argument 1 of ‘chmod’ differ in signedness [-Wpointer-sign]
- chmod(tmpFile2, S_IRUSR | S_IWUSR);
- ^
- In file included from src/passmanager.c:35:0:
- /usr/include/x86_64-linux-gnu/sys/stat.h:283:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int chmod (const char *__file, __mode_t __mode)
- ^
- src/passmanager.c:2815:12: warning: pointer targets in passing argument 1 of ‘remove’ differ in signedness [-Wpointer-sign]
- remove(tmpFile1);
- ^
- In file included from /usr/include/openssl/crypto.h:125:0,
- from src/passmanager.c:25:
- /usr/include/stdio.h:178:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int remove (const char *__filename) __THROW;
- ^
- src/passmanager.c: In function ‘cleanUpFiles’:
- src/passmanager.c:2828:16: warning: pointer targets in passing argument 1 of ‘remove’ differ in signedness [-Wpointer-sign]
- remove(tmpFile1);
- ^
- In file included from /usr/include/openssl/crypto.h:125:0,
- from src/passmanager.c:25:
- /usr/include/stdio.h:178:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int remove (const char *__filename) __THROW;
- ^
- src/passmanager.c:2832:16: warning: pointer targets in passing argument 1 of ‘remove’ differ in signedness [-Wpointer-sign]
- remove(tmpFile2);
- ^
- In file included from /usr/include/openssl/crypto.h:125:0,
- from src/passmanager.c:25:
- /usr/include/stdio.h:178:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int remove (const char *__filename) __THROW;
- ^
- src/passmanager.c:2836:16: warning: pointer targets in passing argument 1 of ‘remove’ differ in signedness [-Wpointer-sign]
- remove(tmpFile3);
- ^
- In file included from /usr/include/openssl/crypto.h:125:0,
- from src/passmanager.c:25:
- /usr/include/stdio.h:178:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern int remove (const char *__filename) __THROW;
- ^
- src/passmanager.c: In function ‘cleanUpBuffers’:
- src/passmanager.c:2933:60: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
- OPENSSL_cleanse(dbPass, sizeof(unsigned char) * strlen(dbPass));
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern size_t strlen (const char *__s)
- ^
- src/passmanager.c: In function ‘genPassWord’:
- src/passmanager.c:2978:12: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(entryPass, tempPassString);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c:2978:23: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
- strcpy(entryPass, tempPassString);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
- extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
- ^
- src/passmanager.c: In function ‘genFileName’:
- src/passmanager.c:3006:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign]
- sprintf(fileName, "%s/%s", P_tmpdir, fileNameBuffer);
- ^
- In file included from /usr/include/openssl/crypto.h:125:0,
- from src/passmanager.c:25:
- /usr/include/stdio.h:364:12: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
- extern int sprintf (char *__restrict __s,
- ^
- src/passmanager.c: In function ‘sendToClipboard’:
- src/passmanager.c:3057:40: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
- unsigned char wipeOutBuffer[strlen(textToSend)];
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern size_t strlen (const char *__s)
- ^
- src/passmanager.c:3058:43: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
- OPENSSL_cleanse(wipeOutBuffer, strlen(textToSend));
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern size_t strlen (const char *__s)
- ^
- src/passmanager.c:3059:29: warning: pointer targets in passing argument 1 of ‘popen’ differ in signedness [-Wpointer-sign]
- FILE* xclipFile = popen(xclipCommand, "w");
- ^
- In file included from /usr/include/openssl/crypto.h:125:0,
- from src/passmanager.c:25:
- /usr/include/stdio.h:872:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern FILE *popen (const char *__command, const char *__modes) __wur;
- ^
- src/passmanager.c:3060:28: warning: pointer targets in passing argument 1 of ‘popen’ differ in signedness [-Wpointer-sign]
- FILE* wipeFile = popen(wipeCommand, "w");
- ^
- In file included from /usr/include/openssl/crypto.h:125:0,
- from src/passmanager.c:25:
- /usr/include/stdio.h:872:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern FILE *popen (const char *__command, const char *__modes) __wur;
- ^
- src/passmanager.c:3067:66: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
- returnVal = fwrite(textToSend, sizeof(unsigned char), strlen(textToSend), xclipFile);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern size_t strlen (const char *__s)
- ^
- src/passmanager.c:3068:29: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
- if (returnVal != strlen(textToSend) / sizeof(unsigned char))
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern size_t strlen (const char *__s)
- ^
- src/passmanager.c:3080:40: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
- OPENSSL_cleanse(textToSend, strlen(textToSend));
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern size_t strlen (const char *__s)
- ^
- src/passmanager.c:3115:69: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
- returnVal = fwrite(wipeOutBuffer, sizeof(unsigned char), strlen(textToSend), wipeFile);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern size_t strlen (const char *__s)
- ^
- src/passmanager.c:3116:29: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
- if (returnVal != strlen(textToSend) / sizeof(unsigned char))
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern size_t strlen (const char *__s)
- ^
- src/passmanager.c: In function ‘hmacKDF’:
- src/passmanager.c:3140:33: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
- originalPassLength = strlen(dbPass);
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern size_t strlen (const char *__s)
- ^
- src/passmanager.c:3143:23: warning: pointer targets in passing argument 1 of ‘PKCS5_PBKDF2_HMAC’ differ in signedness [-Wpointer-sign]
- PKCS5_PBKDF2_HMAC(dbPass, -1, hmacSalt, HMAC_SALT_SIZE, RFC_2889_REC_ITERATIONS * originalPassLength, EVP_get_digestbyname("sha512"), SHA512_DIGEST_LENGTH, hmacKey);
- ^
- In file included from src/passmanager.c:26:0:
- /usr/include/openssl/evp.h:1026:5: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- int PKCS5_PBKDF2_HMAC(const char *pass, int passlen,
- ^
- src/passmanager.c: In function ‘evpKDF’:
- src/passmanager.c:3149:56: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
- if (!PKCS5_PBKDF2_HMAC((unsigned char*)dbPass, strlen(dbPass),
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern size_t strlen (const char *__s)
- ^
- src/passmanager.c:3151:10: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
- strlen(dbPass) * RFC_2889_REC_ITERATIONS,
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern size_t strlen (const char *__s)
- ^
- src/passmanager.c:3149:25: warning: pointer targets in passing argument 1 of ‘PKCS5_PBKDF2_HMAC’ differ in signedness [-Wpointer-sign]
- if (!PKCS5_PBKDF2_HMAC((unsigned char*)dbPass, strlen(dbPass),
- ^
- In file included from src/passmanager.c:26:0:
- /usr/include/openssl/evp.h:1026:5: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- int PKCS5_PBKDF2_HMAC(const char *pass, int passlen,
- ^
- src/passmanager.c:3160:57: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
- if (!PKCS5_PBKDF2_HMAC((unsigned char*)dbPass, strlen(dbPass),
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern size_t strlen (const char *__s)
- ^
- src/passmanager.c:3162:20: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
- strlen(dbPass) * RFC_2889_REC_ITERATIONS,
- ^
- In file included from src/passmanager.c:34:0:
- /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- extern size_t strlen (const char *__s)
- ^
- src/passmanager.c:3160:26: warning: pointer targets in passing argument 1 of ‘PKCS5_PBKDF2_HMAC’ differ in signedness [-Wpointer-sign]
- if (!PKCS5_PBKDF2_HMAC((unsigned char*)dbPass, strlen(dbPass),
- ^
- In file included from src/passmanager.c:26:0:
- /usr/include/openssl/evp.h:1026:5: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
- int PKCS5_PBKDF2_HMAC(const char *pass, int passlen,
- ^
- src/passmanager.c: In function ‘getPass’:
- src/passmanager.c:3195:21: warning: pointer targets in passing argument 1 of ‘RAND_bytes’ differ in signedness [-Wpointer-sign]
- if (!RAND_bytes(paddedPass, BUFFER_SIZES)) {
- ^
- In file included from src/passmanager.c:29:0:
- /usr/include/openssl/rand.h:101:5: note: expected ‘unsigned char *’ but argument is of type ‘char *’
- int RAND_bytes(unsigned char *buf, int num);
- ^
- src/passmanager.c:3245:12: warning: pointer targets in return differ in signedness [-Wpointer-sign]
- return paddedPass;
- ^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement