1
0
mirror of https://github.com/CPunch/Laika.git synced 2025-10-09 01:10:14 +00:00

Refactored how CMake passes version & settings info

- keys can now be passed per-build passing -DLAIKA_PUBKEY=[pubkey] & -LAIKA_PRIVKEY=[pubkey] to `cmake -B`
- if those definitions aren't passed, the default public & private key will be used (for quick testing)
This commit is contained in:
2022-01-30 01:15:51 -06:00
parent 7481431551
commit 6fb8aa9b8a
8 changed files with 72 additions and 23 deletions

View File

@@ -5,7 +5,7 @@
#include "lrsa.h"
#define DATA "Encryption/Decryption test passed!\n"
#define DATALEN 35
#define DATALEN 36
#define CIPHERLEN crypto_box_SEALBYTES + DATALEN
int main(int argv, char **argc) {