Update to use installed Crypto++ library

This commit is contained in:
2025-08-28 09:52:53 +02:00
parent 42c00c3452
commit 8e92ccb386
3 changed files with 22 additions and 81 deletions

View File

@ -11,8 +11,6 @@ int main() {
char* delete_token = nullptr;
std::cout << "Creating paste on https://privatebin.medisoftware.org..." << std::endl;
std::cout << "Note: Crypto++ library not found, using stub implementations." << std::endl;
std::cout << "This means encryption/decryption will not work properly." << std::endl;
// Testing against https://privatebin.medisoftware.org
int result = create_paste(
@ -47,8 +45,6 @@ int main() {
break;
case 2:
std::cout << "Encryption/decryption error occurred." << std::endl;
std::cout << "This is expected since we're using stub implementations." << std::endl;
std::cout << "To fix this, install the Crypto++ library and rebuild." << std::endl;
break;
case 3:
std::cout << "Invalid input provided." << std::endl;