-
Notifications
You must be signed in to change notification settings - Fork 129
Open
Description
keychaindump.c:209:27: error: expected expression
DES_set_key((C_Block *)ckey1, &ks1);
^
keychaindump.c:209:18: error: use of undeclared identifier 'C_Block'; did you mean 'clock'?
DES_set_key((C_Block *)ckey1, &ks1);
^~~~~~~
clock
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/time.h:109:9: note: 'clock' declared here
clock_t clock(void) __DARWIN_ALIAS(clock);
^
keychaindump.c:210:27: error: expected expression
DES_set_key((C_Block *)ckey2, &ks2);
^
keychaindump.c:210:18: error: use of undeclared identifier 'C_Block'; did you mean 'clock'?
DES_set_key((C_Block *)ckey2, &ks2);
^~~~~~~
clock
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/time.h:109:9: note: 'clock' declared here
clock_t clock(void) __DARWIN_ALIAS(clock);
^
keychaindump.c:211:27: error: expected expression
DES_set_key((C_Block *)ckey3, &ks3);
^
keychaindump.c:211:18: error: use of undeclared identifier 'C_Block'; did you mean 'clock'?
DES_set_key((C_Block *)ckey3, &ks3);
^~~~~~~
clock
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/time.h:109:9: note: 'clock' declared here
clock_t clock(void) __DARWIN_ALIAS(clock);
^
keychaindump.c:449:9: error: implicit declaration of function 'geteuid' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (geteuid()) {
^
keychaindump.c:449:9: note: did you mean 'getauid'?
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/bsm/audit.h:353:9: note: 'getauid' declared here
int getauid(au_id_t *);
^
keychaindump.c:490:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (key_len = dump_wrapping_key(key, g_master_candidates[i], buffer, sz)) {
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
keychaindump.c:490:21: note: place parentheses around the assignment to silence this warning
if (key_len = dump_wrapping_key(key, g_master_candidates[i], buffer, sz)) {
^
( )
keychaindump.c:490:21: note: use '==' to turn this assignment into an equality comparison
if (key_len = dump_wrapping_key(key, g_master_candidates[i], buffer, sz)) {
^
==
1 warning and 7 errors generated.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels