Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Compile with NDK the OpenVPN code modified by FeatVPN
- $ D:/NDK/android-ndk-r7c/ndk-build
- Cygwin : Generating dependency file converter script
- Compile thumb : openvpn <= base64.c
- Compile thumb : openvpn <= buffer.c
- Compile thumb : openvpn <= crypto.c
- In file included from openvpn/crypto.h:40,
- from openvpn/crypto.c:29:
- openssl/include/openssl/objects.h:1: error: expected identifier or '(' before '.' token
- In file included from openvpn/crypto.h:61,
- from openvpn/crypto.c:29:
- openvpn/buffer.h:80: warning: 'struct buffer' declared inside parameter list
- openvpn/buffer.h:80: warning: its scope is only this definition or declaration, which is probably not what you want
- openvpn/buffer.h: In function 'buf_defined':
- openvpn/buffer.h:139: error: dereferencing pointer to incomplete type
- openvpn/buffer.h: In function 'buf_valid':
- openvpn/buffer.h:145: error: dereferencing pointer to incomplete type
- openvpn/buffer.h:145: error: dereferencing pointer to incomplete type
- openvpn/buffer.h: In function 'buf_bptr':
- openvpn/buffer.h:152: error: dereferencing pointer to incomplete type
- openvpn/buffer.h:152: error: dereferencing pointer to incomplete type
- openvpn/buffer.h: In function 'buf_len':
- openvpn/buffer.h:161: error: dereferencing pointer to incomplete type
- openvpn/buffer.h: In function 'buf_reset':
- openvpn/buffer.h:202: error: dereferencing pointer to incomplete type
- openvpn/buffer.h:203: error: dereferencing pointer to incomplete type
- openvpn/buffer.h:204: error: dereferencing pointer to incomplete type
- openvpn/buffer.h:205: error: dereferencing pointer to incomplete type
- openvpn/buffer.h: In function 'buf_reset_len':
- openvpn/buffer.h:211: error: dereferencing pointer to incomplete type
- openvpn/buffer.h:212: error: dereferencing pointer to incomplete type
- openvpn/buffer.h: In function 'buf_init_dowork':
- openvpn/buffer.h:218: error: dereferencing pointer to incomplete type
- openvpn/buffer.h:218: error: dereferencing pointer to incomplete type
- openvpn/buffer.h:220: error: dereferencing pointer to incomplete type
- openvpn/buffer.h:221: error: dereferencing pointer to incomplete type
- openvpn/buffer.h: In function 'buf_set_write':
- openvpn/buffer.h:230: error: dereferencing pointer to incomplete type
- openvpn/buffer.h:231: error: dereferencing pointer to incomplete type
- openvpn/buffer.h:232: error: dereferencing pointer to incomplete type
- openvpn/buffer.h:233: error: dereferencing pointer to incomplete type
- openvpn/buffer.h: In function 'buf_set_read':
- openvpn/buffer.h:243: error: dereferencing pointer to incomplete type
- openvpn/buffer.h:243: error: dereferencing pointer to incomplete type
- openvpn/buffer.h:244: error: dereferencing pointer to incomplete type
- openvpn/buffer.h:245: error: dereferencing pointer to incomplete type
- openvpn/buffer.h: In function 'buf_safe':
- openvpn/buffer.h:353: error: dereferencing pointer to incomplete type
- openvpn/buffer.h:353: error: dereferencing pointer to incomplete type
- openvpn/buffer.h:353: error: dereferencing pointer to incomplete type
- openvpn/buffer.h: In function 'buf_safe_bidir':
- openvpn/buffer.h:361: error: dereferencing pointer to incomplete type
- openvpn/buffer.h:362: error: dereferencing pointer to incomplete type
- openvpn/buffer.h:362: error: dereferencing pointer to incomplete type
- openvpn/buffer.h: In function 'buf_forward_capacity':
- openvpn/buffer.h:373: error: dereferencing pointer to incomplete type
- openvpn/buffer.h:373: error: dereferencing pointer to incomplete type
- openvpn/buffer.h:373: error: dereferencing pointer to incomplete type
- openvpn/buffer.h: In function 'buf_forward_capacity_total':
- openvpn/buffer.h:387: error: dereferencing pointer to incomplete type
- openvpn/buffer.h:387: error: dereferencing pointer to incomplete type
- openvpn/buffer.h: In function 'buf_reverse_capacity':
- openvpn/buffer.h:400: error: dereferencing pointer to incomplete type
- openvpn/buffer.h: In function 'buf_inc_len':
- openvpn/buffer.h:410: error: dereferencing pointer to incomplete type
- openvpn/buffer.h: In function 'buf_prepend':
- openvpn/buffer.h:422: error: dereferencing pointer to incomplete type
- openvpn/buffer.h:424: error: dereferencing pointer to incomplete type
- openvpn/buffer.h:425: error: dereferencing pointer to incomplete type
- openvpn/buffer.h: In function 'buf_advance':
- openvpn/buffer.h:432: error: dereferencing pointer to incomplete type
- openvpn/buffer.h:434: error: dereferencing pointer to incomplete type
- openvpn/buffer.h:435: error: dereferencing pointer to incomplete type
- openvpn/buffer.h: In function 'buf_write_alloc':
- openvpn/buffer.h:450: error: dereferencing pointer to incomplete type
- openvpn/buffer.h:451: error: dereferencing pointer to incomplete type
- openvpn/buffer.h: In function 'buf_read_alloc':
- openvpn/buffer.h:465: error: dereferencing pointer to incomplete type
- openvpn/buffer.h:468: error: dereferencing pointer to incomplete type
- openvpn/buffer.h:469: error: dereferencing pointer to incomplete type
- openvpn/buffer.h: In function 'buf_copy_range':
- openvpn/buffer.h:538: error: dereferencing pointer to incomplete type
- openvpn/buffer.h:540: error: dereferencing pointer to incomplete type
- openvpn/buffer.h:540: error: dereferencing pointer to incomplete type
- openvpn/buffer.h:542: error: dereferencing pointer to incomplete type
- openvpn/buffer.h:542: error: dereferencing pointer to incomplete type
- openvpn/buffer.h:542: error: dereferencing pointer to incomplete type
- openvpn/buffer.h:542: error: dereferencing pointer to incomplete type
- openvpn/buffer.h:543: error: dereferencing pointer to incomplete type
- openvpn/buffer.h:544: error: dereferencing pointer to incomplete type
- openvpn/buffer.h: In function 'buf_copy_excess':
- openvpn/buffer.h:556: error: dereferencing pointer to incomplete type
- openvpn/buffer.h:558: error: variable 'b' has initializer but incomplete type
- openvpn/buffer.h:558: error: dereferencing pointer to incomplete type
- openvpn/buffer.h:558: error: storage size of 'b' isn't known
- openvpn/buffer.h:559: error: dereferencing pointer to incomplete type
- openvpn/buffer.h:558: warning: unused variable 'b'
- openvpn/buffer.h: In function 'buf_string_match':
- openvpn/buffer.h:621: error: dereferencing pointer to incomplete type
- openvpn/buffer.h: In function 'buf_string_match_head':
- openvpn/buffer.h:629: error: dereferencing pointer to incomplete type
- openvpn/buffer.h: At top level:
- openvpn/buffer.h:834: error: field 'buf' has incomplete type
- In file included from openvpn/crypto.c:29:
- openvpn/crypto.h:110: error: expected ')' before '*' token
- openvpn/crypto.h:117: error: expected ')' before '*' token
- openvpn/crypto.h:198: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token
- openvpn/crypto.h:240: error: expected specifier-qualifier-list before 'EVP_CIPHER_CTX'
- openvpn/crypto.h:282: warning: type defaults to 'int' in declaration of 'EVP_MD'
- openvpn/crypto.h:282: error: expected ';', ',' or ')' before '*' token
- openvpn/crypto.h: In function 'key_ctx_bi_defined':
- openvpn/crypto.h:398: error: 'const struct key_ctx' has no member named 'cipher'
- openvpn/crypto.h:398: error: 'const struct key_ctx' has no member named 'hmac'
- openvpn/crypto.h:398: error: 'const struct key_ctx' has no member named 'cipher'
- openvpn/crypto.h:398: error: 'const struct key_ctx' has no member named 'hmac'
- openvpn/crypto.h: At top level:
- openvpn/crypto.h:406: error: expected specifier-qualifier-list before 'MD5_CTX'
- openvpn/crypto.h:410: error: 'MD5_DIGEST_LENGTH' undeclared here (not in a function)
- openvpn/crypto.c:74: error: parameter 2 ('work') has incomplete type
- openvpn/crypto.c: In function 'openvpn_encrypt':
- openvpn/crypto.c:81: error: dereferencing pointer to incomplete type
- openvpn/crypto.c:86: error: 'struct key_ctx' has no member named 'cipher'
- openvpn/crypto.c:88: error: 'EVP_MAX_IV_LENGTH' undeclared (first use in this function)
- openvpn/crypto.c:88: error: (Each undeclared identifier is reported only once
- openvpn/crypto.c:88: error: for each function it appears in.)
- openvpn/crypto.c:89: warning: implicit declaration of function 'EVP_CIPHER_CTX_iv_length'
- openvpn/crypto.c:89: error: 'struct key_ctx' has no member named 'cipher'
- openvpn/crypto.c:112: error: storage size of 'b' isn't known
- openvpn/crypto.c:112: warning: unused variable 'b'
- openvpn/crypto.c:138: warning: implicit declaration of function 'EVP_CipherInit_ov'
- openvpn/crypto.c:138: error: 'struct key_ctx' has no member named 'cipher'
- openvpn/crypto.c:141: error: dereferencing pointer to incomplete type
- openvpn/crypto.c:141: warning: implicit declaration of function 'EVP_CIPHER_CTX_block_size'
- openvpn/crypto.c:141: error: 'struct key_ctx' has no member named 'cipher'
- openvpn/crypto.c:143: error: dereferencing pointer to incomplete type
- openvpn/crypto.c:143: error: dereferencing pointer to incomplete type
- openvpn/crypto.c:143: error: dereferencing pointer to incomplete type
- openvpn/crypto.c:143: error: 'struct key_ctx' has no member named 'cipher'
- openvpn/crypto.c:155: warning: implicit declaration of function 'EVP_CipherUpdate_ov'
- openvpn/crypto.c:155: error: 'struct key_ctx' has no member named 'cipher'
- openvpn/crypto.c:159: warning: implicit declaration of function 'EVP_CipherFinal'
- openvpn/crypto.c:159: error: 'struct key_ctx' has no member named 'cipher'
- openvpn/crypto.c:88: warning: unused variable 'iv_buf'
- openvpn/crypto.c:182: error: dereferencing pointer to incomplete type
- openvpn/crypto.c:186: error: 'struct key_ctx' has no member named 'hmac'
- openvpn/crypto.c:191: warning: implicit declaration of function 'HMAC_Init'
- openvpn/crypto.c:191: error: 'struct key_ctx' has no member named 'hmac'
- openvpn/crypto.c:192: warning: implicit declaration of function 'HMAC_Update'
- openvpn/crypto.c:192: error: 'struct key_ctx' has no member named 'hmac'
- openvpn/crypto.c:193: warning: implicit declaration of function 'HMAC_size'
- openvpn/crypto.c:193: error: 'struct key_ctx' has no member named 'hmac'
- openvpn/crypto.c:195: warning: implicit declaration of function 'HMAC_Final'
- openvpn/crypto.c:195: error: 'struct key_ctx' has no member named 'hmac'
- openvpn/crypto.c:196: error: 'struct key_ctx' has no member named 'hmac'
- openvpn/crypto.c:199: error: dereferencing pointer to incomplete type
- openvpn/crypto.c:206: warning: implicit declaration of function 'ERR_clear_error'
- openvpn/crypto.c:207: error: dereferencing pointer to incomplete type
- openvpn/crypto.c: At top level:
- openvpn/crypto.c:221: error: parameter 2 ('work') has incomplete type
- openvpn/crypto.c: In function 'openvpn_decrypt':
- openvpn/crypto.c:229: error: dereferencing pointer to incomplete type
- openvpn/crypto.c:236: error: 'struct key_ctx' has no member named 'hmac'
- openvpn/crypto.c:242: error: 'struct key_ctx' has no member named 'hmac'
- openvpn/crypto.c:245: error: 'struct key_ctx' has no member named 'hmac'
- openvpn/crypto.c:248: error: dereferencing pointer to incomplete type
- openvpn/crypto.c:251: error: 'struct key_ctx' has no member named 'hmac'
- openvpn/crypto.c:253: error: 'struct key_ctx' has no member named 'hmac'
- openvpn/crypto.c:265: error: 'struct key_ctx' has no member named 'cipher'
- openvpn/crypto.c:268: error: 'struct key_ctx' has no member named 'cipher'
- openvpn/crypto.c:269: error: 'EVP_MAX_IV_LENGTH' undeclared (first use in this function)
- openvpn/crypto.c:279: error: dereferencing pointer to incomplete type
- openvpn/crypto.c:289: error: dereferencing pointer to incomplete type
- openvpn/crypto.c:293: error: 'struct key_ctx' has no member named 'cipher'
- openvpn/crypto.c:297: error: dereferencing pointer to incomplete type
- openvpn/crypto.c:301: error: 'struct key_ctx' has no member named 'cipher'
- openvpn/crypto.c:306: error: 'struct key_ctx' has no member named 'cipher'
- openvpn/crypto.c:326: error: storage size of 'b' isn't known
- openvpn/crypto.c:326: warning: unused variable 'b'
- openvpn/crypto.c:269: warning: unused variable 'iv_buf'
- openvpn/crypto.c:344: error: dereferencing pointer to incomplete type
- openvpn/crypto.c:370: error: dereferencing pointer to incomplete type
- openvpn/crypto.c:378: error: dereferencing pointer to incomplete type
- openvpn/crypto.c: In function 'crypto_adjust_frame_parameters':
- openvpn/crypto.c:397: warning: implicit declaration of function 'EVP_CIPHER_iv_length'
- openvpn/crypto.c:397: error: 'const struct key_type' has no member named 'cipher'
- openvpn/crypto.c:398: warning: implicit declaration of function 'EVP_CIPHER_block_size'
- openvpn/crypto.c:398: error: 'const struct key_type' has no member named 'cipher'
- openvpn/crypto.c: At top level:
- openvpn/crypto.c:402: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
- openvpn/crypto.c:418: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
- openvpn/crypto.c:435: error: expected ')' before '*' token
- openvpn/crypto.c:470: error: expected ')' before '*' token
- openvpn/crypto.c: In function 'init_key_type':
- openvpn/crypto.c:506: error: 'struct key_type' has no member named 'cipher'
- openvpn/crypto.c:506: warning: implicit declaration of function 'get_cipher'
- openvpn/crypto.c:507: warning: implicit declaration of function 'EVP_CIPHER_key_length'
- openvpn/crypto.c:507: error: 'struct key_type' has no member named 'cipher'
- openvpn/crypto.c:533: error: 'struct key_type' has no member named 'digest'
- openvpn/crypto.c:533: warning: implicit declaration of function 'get_md'
- openvpn/crypto.c:534: warning: implicit declaration of function 'EVP_MD_size'
- openvpn/crypto.c:534: error: 'struct key_type' has no member named 'digest'
- openvpn/crypto.c: In function 'kt_cipher_name':
- openvpn/crypto.c:546: error: 'const struct key_type' has no member named 'cipher'
- openvpn/crypto.c:547: warning: implicit declaration of function 'OBJ_nid2sn'
- openvpn/crypto.c:547: warning: implicit declaration of function 'EVP_CIPHER_nid'
- openvpn/crypto.c:547: error: 'const struct key_type' has no member named 'cipher'
- openvpn/crypto.c: In function 'kt_digest_name':
- openvpn/crypto.c:555: error: 'const struct key_type' has no member named 'digest'
- openvpn/crypto.c:556: warning: implicit declaration of function 'EVP_MD_type'
- openvpn/crypto.c:556: error: 'const struct key_type' has no member named 'digest'
- openvpn/crypto.c: In function 'kt_key_size':
- openvpn/crypto.c:566: error: 'const struct key_type' has no member named 'cipher'
- openvpn/crypto.c:567: error: 'const struct key_type' has no member named 'cipher'
- openvpn/crypto.c: In function 'init_key_ctx':
- openvpn/crypto.c:579: error: 'const struct key_type' has no member named 'cipher'
- openvpn/crypto.c:581: error: 'struct key_ctx' has no member named 'cipher'
- openvpn/crypto.c:581: error: 'EVP_CIPHER_CTX' undeclared (first use in this function)
- openvpn/crypto.c:581: error: expected expression before ')' token
- openvpn/crypto.c:582: warning: implicit declaration of function 'init_cipher'
- openvpn/crypto.c:582: error: 'struct key_ctx' has no member named 'cipher'
- openvpn/crypto.c:582: error: 'const struct key_type' has no member named 'cipher'
- openvpn/crypto.c:584: error: 'const struct key_type' has no member named 'digest'
- openvpn/crypto.c:586: error: 'struct key_ctx' has no member named 'hmac'
- openvpn/crypto.c:586: error: 'HMAC_CTX' undeclared (first use in this function)
- openvpn/crypto.c:586: error: expected expression before ')' token
- openvpn/crypto.c:587: warning: implicit declaration of function 'init_hmac'
- openvpn/crypto.c:587: error: 'struct key_ctx' has no member named 'hmac'
- openvpn/crypto.c:587: error: 'const struct key_type' has no member named 'digest'
- openvpn/crypto.c: In function 'free_key_ctx':
- openvpn/crypto.c:594: error: 'struct key_ctx' has no member named 'cipher'
- openvpn/crypto.c:596: warning: implicit declaration of function 'EVP_CIPHER_CTX_cleanup'
- openvpn/crypto.c:596: error: 'struct key_ctx' has no member named 'cipher'
- openvpn/crypto.c:597: error: 'struct key_ctx' has no member named 'cipher'
- openvpn/crypto.c:598: error: 'struct key_ctx' has no member named 'cipher'
- openvpn/crypto.c:600: error: 'struct key_ctx' has no member named 'hmac'
- openvpn/crypto.c:602: warning: implicit declaration of function 'HMAC_cleanup'
- openvpn/crypto.c:602: error: 'struct key_ctx' has no member named 'hmac'
- openvpn/crypto.c:603: error: 'struct key_ctx' has no member named 'hmac'
- openvpn/crypto.c:604: error: 'struct key_ctx' has no member named 'hmac'
- openvpn/crypto.c: In function 'n_DES_cblocks':
- openvpn/crypto.c:623: error: 'const struct key_type' has no member named 'cipher'
- openvpn/crypto.c:628: error: 'const struct key_type' has no member named 'cipher'
- openvpn/crypto.c:628: error: 'des_cblock' undeclared (first use in this function)
- openvpn/crypto.c: In function 'check_key_DES':
- openvpn/crypto.c:643: error: storage size of 'b' isn't known
- openvpn/crypto.c:649: error: 'des_cblock' undeclared (first use in this function)
- openvpn/crypto.c:649: error: 'dc' undeclared (first use in this function)
- openvpn/crypto.c:649: error: expected expression before ')' token
- openvpn/crypto.c:655: warning: implicit declaration of function 'des_is_weak_key'
- openvpn/crypto.c:643: warning: unused variable 'b'
- openvpn/crypto.c: In function 'fixup_key_DES':
- openvpn/crypto.c:677: error: storage size of 'b' isn't known
- openvpn/crypto.c:682: error: 'des_cblock' undeclared (first use in this function)
- openvpn/crypto.c:682: error: 'dc' undeclared (first use in this function)
- openvpn/crypto.c:682: error: expected expression before ')' token
- openvpn/crypto.c:689: warning: implicit declaration of function 'des_set_odd_parity'
- openvpn/crypto.c:677: warning: unused variable 'b'
- openvpn/crypto.c: In function 'check_key':
- openvpn/crypto.c:710: error: 'const struct key_type' has no member named 'cipher'
- openvpn/crypto.c: In function 'fixup_key':
- openvpn/crypto.c:744: error: 'const struct key_type' has no member named 'cipher'
- openvpn/crypto.c: In function 'cfb_ofb_mode':
- openvpn/crypto.c:777: error: 'const struct key_type' has no member named 'cipher'
- openvpn/crypto.c: In function 'generate_key_random':
- openvpn/crypto.c:800: error: 'const struct key_type' has no member named 'cipher'
- openvpn/crypto.c:803: error: 'const struct key_type' has no member named 'digest'
- openvpn/crypto.c:806: warning: implicit declaration of function 'RAND_bytes'
- openvpn/crypto.c: In function 'test_crypto':
- openvpn/crypto.c:851: error: variable 'src' has initializer but incomplete type
- openvpn/crypto.c:851: error: invalid use of undefined type 'struct buffer'
- openvpn/crypto.c:851: error: storage size of 'src' isn't known
- openvpn/crypto.c:852: error: variable 'work' has initializer but incomplete type
- openvpn/crypto.c:852: error: invalid use of undefined type 'struct buffer'
- openvpn/crypto.c:852: error: storage size of 'work' isn't known
- openvpn/crypto.c:853: error: variable 'encrypt_workspace' has initializer but incomplete type
- openvpn/crypto.c:853: error: invalid use of undefined type 'struct buffer'
- openvpn/crypto.c:853: error: storage size of 'encrypt_workspace' isn't known
- openvpn/crypto.c:854: error: variable 'decrypt_workspace' has initializer but incomplete type
- openvpn/crypto.c:854: error: invalid use of undefined type 'struct buffer'
- openvpn/crypto.c:854: error: storage size of 'decrypt_workspace' isn't known
- openvpn/crypto.c:855: error: variable 'buf' has initializer but incomplete type
- openvpn/crypto.c:855: error: invalid use of undefined type 'struct buffer'
- openvpn/crypto.c:855: error: storage size of 'buf' isn't known
- openvpn/crypto.c:873: warning: implicit declaration of function 'RAND_pseudo_bytes'
- openvpn/crypto.c:880: error: type of formal parameter 2 is incomplete
- openvpn/crypto.c:883: error: type of formal parameter 2 is incomplete
- openvpn/crypto.c:855: warning: unused variable 'buf'
- openvpn/crypto.c:854: warning: unused variable 'decrypt_workspace'
- openvpn/crypto.c:853: warning: unused variable 'encrypt_workspace'
- openvpn/crypto.c:852: warning: unused variable 'work'
- openvpn/crypto.c:851: warning: unused variable 'src'
- openvpn/crypto.c: In function 'get_tls_handshake_key':
- openvpn/crypto.c:917: error: 'struct key_type' has no member named 'cipher'
- openvpn/crypto.c:951: warning: implicit declaration of function 'read_passphrase_hash'
- openvpn/crypto.c:952: error: 'struct key_type' has no member named 'digest'
- openvpn/crypto.c: In function 'read_key_file':
- openvpn/crypto.c:1002: error: storage size of 'in' isn't known
- openvpn/crypto.c:1049: error: invalid use of undefined type 'struct buffer'
- openvpn/crypto.c:1002: warning: unused variable 'in'
- openvpn/crypto.c: At top level:
- openvpn/crypto.c:1194: warning: type defaults to 'int' in declaration of 'EVP_MD'
- openvpn/crypto.c:1194: error: expected ';', ',' or ')' before '*' token
- openvpn/crypto.c: In function 'write_key_file':
- openvpn/crypto.c:1255: error: variable 'out' has initializer but incomplete type
- openvpn/crypto.c:1255: error: invalid use of undefined type 'struct buffer'
- openvpn/crypto.c:1255: error: storage size of 'out' isn't known
- openvpn/crypto.c:1256: error: variable 'nbits_head_text' has initializer but incomplete type
- openvpn/crypto.c:1256: error: invalid use of undefined type 'struct buffer'
- openvpn/crypto.c:1256: error: storage size of 'nbits_head_text' isn't known
- openvpn/crypto.c:1256: warning: unused variable 'nbits_head_text'
- openvpn/crypto.c:1255: warning: unused variable 'out'
- openvpn/crypto.c: In function 'show_available_ciphers':
- openvpn/crypto.c:1482: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
- openvpn/crypto.c:1482: error: 'cipher' undeclared (first use in this function)
- openvpn/crypto.c:1482: warning: implicit declaration of function 'EVP_get_cipherbynid'
- openvpn/crypto.c:1483: warning: passing argument 1 of 'cipher_ok' makes pointer from integer without a cast
- openvpn/crypto.h:124: note: expected 'const char *' but argument is of type 'int'
- openvpn/crypto.c: In function 'show_available_digests':
- openvpn/crypto.c:1516: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
- openvpn/crypto.c:1516: error: 'digest' undeclared (first use in this function)
- openvpn/crypto.c:1516: warning: implicit declaration of function 'EVP_get_digestbynid'
- openvpn/crypto.c: In function 'show_available_engines':
- openvpn/crypto.c:1530: error: 'ENGINE' undeclared (first use in this function)
- openvpn/crypto.c:1530: error: 'e' undeclared (first use in this function)
- openvpn/crypto.c:1534: warning: implicit declaration of function 'ENGINE_load_builtin_engines'
- openvpn/crypto.c:1536: warning: implicit declaration of function 'ENGINE_get_first'
- openvpn/crypto.c:1540: warning: implicit declaration of function 'ENGINE_get_name'
- openvpn/crypto.c:1541: warning: implicit declaration of function 'ENGINE_get_id'
- openvpn/crypto.c:1542: warning: implicit declaration of function 'ENGINE_get_next'
- openvpn/crypto.c:1544: warning: implicit declaration of function 'ENGINE_cleanup'
- openvpn/crypto.c: At top level:
- openvpn/crypto.c:1558: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
- openvpn/crypto.c:1561: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
- openvpn/crypto.c:1577: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
- openvpn/crypto.c: In function 'init_crypto_lib_engine':
- openvpn/crypto.c:1618: error: 'engine_persist' undeclared (first use in this function)
- openvpn/crypto.c:1619: warning: implicit declaration of function 'setup_engine'
- openvpn/crypto.c: In function 'uninit_crypto_lib':
- openvpn/crypto.c:1641: error: 'engine_persist' undeclared (first use in this function)
- openvpn/crypto.c: At top level:
- openvpn/crypto.c:1656: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
- openvpn/crypto.c: In function 'prng_init':
- openvpn/crypto.c:1663: error: 'nonce_md' undeclared (first use in this function)
- openvpn/crypto.c:1663: warning: pointer/integer type mismatch in conditional expression
- openvpn/crypto.c: In function 'prng_uninit':
- openvpn/crypto.c:1693: error: 'nonce_md' undeclared (first use in this function)
- openvpn/crypto.c: In function 'prng_bytes':
- openvpn/crypto.c:1700: error: 'nonce_md' undeclared (first use in this function)
- openvpn/crypto.c:1702: error: 'EVP_MD_CTX' undeclared (first use in this function)
- openvpn/crypto.c:1702: error: expected ';' before 'ctx'
- openvpn/crypto.c:1708: warning: implicit declaration of function 'EVP_DigestInit'
- openvpn/crypto.c:1708: error: 'ctx' undeclared (first use in this function)
- openvpn/crypto.c:1709: warning: implicit declaration of function 'EVP_DigestUpdate'
- openvpn/crypto.c:1710: warning: implicit declaration of function 'EVP_DigestFinal'
- openvpn/crypto.c: In function 'md5sum':
- openvpn/crypto.c:1737: warning: implicit declaration of function 'MD5'
- openvpn/crypto.c:1736: warning: unused variable 'digest'
- openvpn/crypto.c: In function 'md5_state_init':
- openvpn/crypto.c:1804: warning: implicit declaration of function 'MD5_Init'
- openvpn/crypto.c:1804: error: 'struct md5_state' has no member named 'ctx'
- openvpn/crypto.c: In function 'md5_state_update':
- openvpn/crypto.c:1810: warning: implicit declaration of function 'MD5_Update'
- openvpn/crypto.c:1810: error: 'struct md5_state' has no member named 'ctx'
- openvpn/crypto.c: In function 'md5_state_final':
- openvpn/crypto.c:1816: warning: implicit declaration of function 'MD5_Final'
- openvpn/crypto.c:1816: error: 'struct md5_state' has no member named 'ctx'
- /cygdrive/d/NDK/android-ndk-r7c/build/core/build-binary.mk:240: recipe for target `obj/local/armeabi/objs/openvpn/crypto.o' failed
- make: *** [obj/local/armeabi/objs/openvpn/crypto.o] Error 1
Add Comment
Please, Sign In to add comment