keygen-sh / example-cpp-cryptographic-license-files

Example of verifying cryptographically signed and encrypted license files using C++, OpenSSL, Ed25519 and AES-256-GCM.
https://keygen.sh
MIT License
9 stars 8 forks source link

Update main.cpp #8

Closed franz-ms-muc closed 11 months ago

franz-ms-muc commented 1 year ago

delete[] plaintext_bytes; otherwise we leave a zombie in the Heap