=> Bootstrap dependency digest>=20010302: found digest-20160304 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for rainbowcrack-1.2nb5 --- rtgen --- --- rtdump --- --- rtsort --- --- rcrack --- --- rtgen --- clang++ -I/usr/include -O2 -I/usr/include -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -lcrypto Public.cpp ChainWalkContext.cpp HashAlgorithm.cpp HashRoutine.cpp RainbowTableGenerate.cpp -o rtgen --- rtsort --- clang++ -I/usr/include -O2 -I/usr/include -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib Public.cpp RainbowTableSort.cpp -o rtsort --- rcrack --- clang++ -I/usr/include -O2 -I/usr/include -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -lcrypto Public.cpp ChainWalkContext.cpp HashAlgorithm.cpp HashRoutine.cpp HashSet.cpp MemoryPool.cpp ChainWalkSet.cpp CrackEngine.cpp RainbowCrack.cpp -o rcrack --- rtdump --- clang++ -I/usr/include -O2 -I/usr/include -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -lcrypto Public.cpp ChainWalkContext.cpp HashAlgorithm.cpp HashRoutine.cpp RainbowTableDump.cpp -o rtdump Public.cpp:79:3: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete data; ^ [] Public.cpp:74:16: note: allocated with 'new[]' here char* data = new char[len + 1]; ^ Public.cpp:134:23: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] sprintf(str, "%llu", n); ~~~~ ^ %lu Public.cpp:147:26: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] sprintf(str, "%016llx", n); ~~~~~~~ ^ %016lx --- rtgen --- Public.cpp:79:3: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete data; ^ [] Public.cpp:74:16: note: allocated with 'new[]' here char* data = new char[len + 1]; --- rtsort --- Public.cpp:79:3: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] --- rtgen --- ^ --- rtsort --- delete data; ^ [] Public.cpp:74:16: note: allocated with 'new[]' here char* data = new char[len + 1]; ^ Public.cpp:134:23: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] sprintf(str, "%llu", n); ~~~~ ^ %lu --- rtgen --- Public.cpp:134:23: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] sprintf(str, "%llu", n); ~~~~ ^ %lu --- rtsort --- Public.cpp:147:26: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] sprintf(str, "%016llx", n); ~~~~~~~ ^ %016lx --- rtgen --- Public.cpp:147:26: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] sprintf(str, "%016llx", n); ~~~~~~~ ^ %016lx --- rcrack --- Public.cpp:79:3: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete data; ^ [] Public.cpp:74:16: note: allocated with 'new[]' here char* data = new char[len + 1]; ^ Public.cpp:134:23: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] sprintf(str, "%llu", n); ~~~~ ^ %lu Public.cpp:147:26: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] sprintf(str, "%016llx", n); ~~~~~~~ ^ %016lx --- rtdump --- 3 warnings generated. --- rtsort --- 3 warnings generated. --- rtgen --- 3 warnings generated. --- rcrack --- 3 warnings generated. --- rtsort --- RainbowTableSort.cpp:38:62: warning: overflow in expression; result is -2147483648 with type 'int' [-Winteger-overflow] int nRandomIndex = nLow + ((unsigned int)rand() * (RAND_MAX + 1) + (unsigned int)rand()) % (nHigh - nLow + 1); ^ RainbowTableSort.cpp:193:2: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete pMem; ^ [] RainbowTableSort.cpp:162:24: note: allocated with 'new[]' here unsigned char* pMem = new unsigned char[nAvailPhys]; ^ 2 warnings generated. --- rtdump --- HashAlgorithm.cpp:16:44: error: unknown type name 'des_key_schedule'; did you mean 'DES_key_schedule'? void setup_des_key(unsigned char key_56[], des_key_schedule &ks) ^~~~~~~~~~~~~~~~ DES_key_schedule /usr/include/openssl/des.h:43:3: note: 'DES_key_schedule' declared here } DES_key_schedule; ^ HashAlgorithm.cpp:18:2: error: unknown type name 'des_cblock'; did you mean 'DES_cblock'? des_cblock key; ^~~~~~~~~~ DES_cblock /usr/include/openssl/des.h:28:23: note: 'DES_cblock' declared here typedef unsigned char DES_cblock[8]; ^ HashAlgorithm.cpp:30:2: error: use of undeclared identifier 'des_set_key'; did you mean 'DES_set_key'? des_set_key(&key, ks); ^~~~~~~~~~~ DES_set_key /usr/include/openssl/des.h:154:5: note: 'DES_set_key' declared here int DES_set_key(const_DES_cblock *key, DES_key_schedule *schedule); ^ HashAlgorithm.cpp:30:20: error: no viable conversion from 'DES_key_schedule' (aka 'DES_ks') to 'DES_key_schedule *' (aka 'DES_ks *') des_set_key(&key, ks); ^~ /usr/include/openssl/des.h:154:58: note: passing argument to parameter 'schedule' here int DES_set_key(const_DES_cblock *key, DES_key_schedule *schedule); ^ HashAlgorithm.cpp:45:2: error: unknown type name 'des_key_schedule'; did you mean 'DES_key_schedule'? des_key_schedule ks; ^~~~~~~~~~~~~~~~ DES_key_schedule /usr/include/openssl/des.h:43:3: note: 'DES_key_schedule' declared here } DES_key_schedule; ^ HashAlgorithm.cpp:48:19: error: use of undeclared identifier 'des_cblock' des_ecb_encrypt((des_cblock*)magic, (des_cblock*)pHash, ks, DES_ENCRYPT); ^ HashAlgorithm.cpp:48:30: error: expected expression des_ecb_encrypt((des_cblock*)magic, (des_cblock*)pHash, ks, DES_ENCRYPT); ^ HashAlgorithm.cpp:48:39: error: use of undeclared identifier 'des_cblock' des_ecb_encrypt((des_cblock*)magic, (des_cblock*)pHash, ks, DES_ENCRYPT); ^ HashAlgorithm.cpp:48:50: error: expected expression des_ecb_encrypt((des_cblock*)magic, (des_cblock*)pHash, ks, DES_ENCRYPT); ^ 9 errors generated. *** [rtdump] Error code 1 make: stopped in /data/scratch/security/rainbowcrack/work/rainbowcrack-1.2-src/src --- rtgen --- HashAlgorithm.cpp:16:44: error: unknown type name 'des_key_schedule'; did you mean 'DES_key_schedule'? void setup_des_key(unsigned char key_56[], des_key_schedule &ks) ^~~~~~~~~~~~~~~~ DES_key_schedule /usr/include/openssl/des.h:43:3: note: 'DES_key_schedule' declared here } DES_key_schedule; ^ HashAlgorithm.cpp:18:2: error: unknown type name 'des_cblock'; did you mean 'DES_cblock'? des_cblock key; ^~~~~~~~~~ DES_cblock /usr/include/openssl/des.h:28:23: note: 'DES_cblock' declared here typedef unsigned char DES_cblock[8]; ^ HashAlgorithm.cpp:30:2: error: use of undeclared identifier 'des_set_key'; did you mean 'DES_set_key'? des_set_key(&key, ks); ^~~~~~~~~~~ DES_set_key /usr/include/openssl/des.h:154:5: note: 'DES_set_key' declared here int DES_set_key(const_DES_cblock *key, DES_key_schedule *schedule); ^ HashAlgorithm.cpp:30:20: error: no viable conversion from 'DES_key_schedule' (aka 'DES_ks') to 'DES_key_schedule *' (aka 'DES_ks *') des_set_key(&key, ks); ^~ /usr/include/openssl/des.h:154:58: note: passing argument to parameter 'schedule' here int DES_set_key(const_DES_cblock *key, DES_key_schedule *schedule); ^ HashAlgorithm.cpp:45:2: error: unknown type name 'des_key_schedule'; did you mean 'DES_key_schedule'? des_key_schedule ks; ^~~~~~~~~~~~~~~~ DES_key_schedule /usr/include/openssl/des.h:43:3: note: 'DES_key_schedule' declared here } DES_key_schedule; ^ HashAlgorithm.cpp:48:19: error: use of undeclared identifier 'des_cblock' des_ecb_encrypt((des_cblock*)magic, (des_cblock*)pHash, ks, DES_ENCRYPT); ^ HashAlgorithm.cpp:48:30: error: expected expression des_ecb_encrypt((des_cblock*)magic, (des_cblock*)pHash, ks, DES_ENCRYPT); ^ HashAlgorithm.cpp:48:39: error: use of undeclared identifier 'des_cblock' des_ecb_encrypt((des_cblock*)magic, (des_cblock*)pHash, ks, DES_ENCRYPT); ^ HashAlgorithm.cpp:48:50: error: expected expression des_ecb_encrypt((des_cblock*)magic, (des_cblock*)pHash, ks, DES_ENCRYPT); ^ 9 errors generated. *** [rtgen] Error code 1 make: stopped in /data/scratch/security/rainbowcrack/work/rainbowcrack-1.2-src/src --- rcrack --- HashAlgorithm.cpp:16:44: error: unknown type name 'des_key_schedule'; did you mean 'DES_key_schedule'? void setup_des_key(unsigned char key_56[], des_key_schedule &ks) ^~~~~~~~~~~~~~~~ DES_key_schedule /usr/include/openssl/des.h:43:3: note: 'DES_key_schedule' declared here } DES_key_schedule; ^ HashAlgorithm.cpp:18:2: error: unknown type name 'des_cblock'; did you mean 'DES_cblock'? des_cblock key; ^~~~~~~~~~ DES_cblock /usr/include/openssl/des.h:28:23: note: 'DES_cblock' declared here typedef unsigned char DES_cblock[8]; ^ HashAlgorithm.cpp:30:2: error: use of undeclared identifier 'des_set_key'; did you mean 'DES_set_key'? des_set_key(&key, ks); ^~~~~~~~~~~ DES_set_key /usr/include/openssl/des.h:154:5: note: 'DES_set_key' declared here int DES_set_key(const_DES_cblock *key, DES_key_schedule *schedule); ^ HashAlgorithm.cpp:30:20: error: no viable conversion from 'DES_key_schedule' (aka 'DES_ks') to 'DES_key_schedule *' (aka 'DES_ks *') des_set_key(&key, ks); ^~ /usr/include/openssl/des.h:154:58: note: passing argument to parameter 'schedule' here int DES_set_key(const_DES_cblock *key, DES_key_schedule *schedule); ^ HashAlgorithm.cpp:45:2: error: unknown type name 'des_key_schedule'; did you mean 'DES_key_schedule'? des_key_schedule ks; ^~~~~~~~~~~~~~~~ DES_key_schedule /usr/include/openssl/des.h:43:3: note: 'DES_key_schedule' declared here } DES_key_schedule; ^ HashAlgorithm.cpp:48:19: error: use of undeclared identifier 'des_cblock' des_ecb_encrypt((des_cblock*)magic, (des_cblock*)pHash, ks, DES_ENCRYPT); ^ HashAlgorithm.cpp:48:30: error: expected expression des_ecb_encrypt((des_cblock*)magic, (des_cblock*)pHash, ks, DES_ENCRYPT); ^ HashAlgorithm.cpp:48:39: error: use of undeclared identifier 'des_cblock' des_ecb_encrypt((des_cblock*)magic, (des_cblock*)pHash, ks, DES_ENCRYPT); ^ HashAlgorithm.cpp:48:50: error: expected expression des_ecb_encrypt((des_cblock*)magic, (des_cblock*)pHash, ks, DES_ENCRYPT); ^ 9 errors generated. *** [rcrack] Error code 1 make: stopped in /data/scratch/security/rainbowcrack/work/rainbowcrack-1.2-src/src 3 errors make: stopped in /data/scratch/security/rainbowcrack/work/rainbowcrack-1.2-src/src *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/security/rainbowcrack *** Error code 1 Stop. make: stopped in /data/pkgsrc/security/rainbowcrack