Skip to content

Instantly share code, notes, and snippets.

@neheb
Created January 6, 2019 03:51
Show Gist options
  • Save neheb/81e1d7c55fd8d3c5556892999e393b50 to your computer and use it in GitHub Desktop.
Save neheb/81e1d7c55fd8d3c5556892999e393b50 to your computer and use it in GitHub Desktop.
libi2pd/Crypto.cpp: In function 'bool i2p::crypto::AEADChaCha20Poly1305(const uint8_t*, size_t, const uint8_t*, size_t, const uint8_t*, const uint8_t*, uint8_t*, size_t, bool)':
libi2pd/Crypto.cpp:1153:28: error: 'EVP_chacha20_poly1305' was not declared in this scope
EVP_EncryptInit_ex(ctx, EVP_chacha20_poly1305(), 0, 0, 0);
^~~~~~~~~~~~~~~~~~~~~
libi2pd/Crypto.cpp:1153:28: note: suggested alternative: 'LN_chacha20_poly1305'
EVP_EncryptInit_ex(ctx, EVP_chacha20_poly1305(), 0, 0, 0);
^~~~~~~~~~~~~~~~~~~~~
LN_chacha20_poly1305
libi2pd/Crypto.cpp:1163:28: error: 'EVP_chacha20_poly1305' was not declared in this scope
EVP_DecryptInit_ex(ctx, EVP_chacha20_poly1305(), 0, 0, 0);
^~~~~~~~~~~~~~~~~~~~~
libi2pd/Crypto.cpp:1163:28: note: suggested alternative: 'LN_chacha20_poly1305'
EVP_DecryptInit_ex(ctx, EVP_chacha20_poly1305(), 0, 0, 0);
^~~~~~~~~~~~~~~~~~~~~
LN_chacha20_poly1305
libi2pd/Crypto.cpp: In function 'void i2p::crypto::InitCrypto(bool)':
libi2pd/Crypto.cpp:1195:3: error: 'SSL_library_init' was not declared in this scope
SSL_library_init ();
^~~~~~~~~~~~~~~~
libi2pd/Crypto.cpp:1195:3: note: suggested alternative: 'SSL_in_init'
SSL_library_init ();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment