Advertisement
Guest User

Untitled

a guest
Jan 24th, 2017
606
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.79 KB | None | 0 0
  1. test.c: In function âmainâ:
  2. test.c:45:3: warning: âOPENSSL_configâ is deprecated [-Wdeprecated-declarations]
  3. OPENSSL_config(NULL);
  4. ^
  5. In file included from /usr/local/include/openssl/crypto.h:32:0,
  6. from /usr/local/include/openssl/bio.h:20,
  7. from /usr/local/include/openssl/conf.h:13,
  8. from test.c:1:
  9. /usr/local/include/openssl/conf.h:92:1: note: declared here
  10. DEPRECATEDIN_1_1_0(void OPENSSL_config(const char *config_name))
  11. ^
  12. /tmp/ccajmy2A.o: In function `main':
  13. test.c:(.text+0x47): undefined reference to `OPENSSL_init_crypto'
  14. test.c:(.text+0x58): undefined reference to `OPENSSL_init_crypto'
  15. test.c:(.text+0x65): undefined reference to `OPENSSL_config'
  16. test.c:(.text+0xd1): undefined reference to `BIO_dump_fp'
  17. /tmp/ccajmy2A.o: In function `encrypt':
  18. test.c:(.text+0x186): undefined reference to `EVP_CIPHER_CTX_new'
  19. test.c:(.text+0x199): undefined reference to `EVP_aes_256_cbc'
  20. test.c:(.text+0x1ad): undefined reference to `EVP_EncryptInit_ex'
  21. test.c:(.text+0x1d2): undefined reference to `EVP_EncryptUpdate'
  22. test.c:(.text+0x1ff): undefined reference to `EVP_EncryptFinal_ex'
  23. test.c:(.text+0x21d): undefined reference to `EVP_CIPHER_CTX_free'
  24. /tmp/ccajmy2A.o: In function `decrypt':
  25. test.c:(.text+0x264): undefined reference to `EVP_CIPHER_CTX_new'
  26. test.c:(.text+0x277): undefined reference to `EVP_aes_256_cbc'
  27. test.c:(.text+0x28b): undefined reference to `EVP_DecryptInit_ex'
  28. test.c:(.text+0x2b0): undefined reference to `EVP_DecryptUpdate'
  29. test.c:(.text+0x2dd): undefined reference to `EVP_DecryptFinal_ex'
  30. test.c:(.text+0x2fb): undefined reference to `EVP_CIPHER_CTX_free'
  31. /tmp/ccajmy2A.o: In function `handleErrors':
  32. test.c:(.text+0x328): undefined reference to `ERR_print_errors_fp'
  33. collect2: error: ld returned 1 exit status
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement