Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- test.c: In function âmainâ:
- test.c:45:3: warning: âOPENSSL_configâ is deprecated [-Wdeprecated-declarations]
- OPENSSL_config(NULL);
- ^
- In file included from /usr/local/include/openssl/crypto.h:32:0,
- from /usr/local/include/openssl/bio.h:20,
- from /usr/local/include/openssl/conf.h:13,
- from test.c:1:
- /usr/local/include/openssl/conf.h:92:1: note: declared here
- DEPRECATEDIN_1_1_0(void OPENSSL_config(const char *config_name))
- ^
- /tmp/ccajmy2A.o: In function `main':
- test.c:(.text+0x47): undefined reference to `OPENSSL_init_crypto'
- test.c:(.text+0x58): undefined reference to `OPENSSL_init_crypto'
- test.c:(.text+0x65): undefined reference to `OPENSSL_config'
- test.c:(.text+0xd1): undefined reference to `BIO_dump_fp'
- /tmp/ccajmy2A.o: In function `encrypt':
- test.c:(.text+0x186): undefined reference to `EVP_CIPHER_CTX_new'
- test.c:(.text+0x199): undefined reference to `EVP_aes_256_cbc'
- test.c:(.text+0x1ad): undefined reference to `EVP_EncryptInit_ex'
- test.c:(.text+0x1d2): undefined reference to `EVP_EncryptUpdate'
- test.c:(.text+0x1ff): undefined reference to `EVP_EncryptFinal_ex'
- test.c:(.text+0x21d): undefined reference to `EVP_CIPHER_CTX_free'
- /tmp/ccajmy2A.o: In function `decrypt':
- test.c:(.text+0x264): undefined reference to `EVP_CIPHER_CTX_new'
- test.c:(.text+0x277): undefined reference to `EVP_aes_256_cbc'
- test.c:(.text+0x28b): undefined reference to `EVP_DecryptInit_ex'
- test.c:(.text+0x2b0): undefined reference to `EVP_DecryptUpdate'
- test.c:(.text+0x2dd): undefined reference to `EVP_DecryptFinal_ex'
- test.c:(.text+0x2fb): undefined reference to `EVP_CIPHER_CTX_free'
- /tmp/ccajmy2A.o: In function `handleErrors':
- test.c:(.text+0x328): undefined reference to `ERR_print_errors_fp'
- collect2: error: ld returned 1 exit status
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement