diff options
author | ben | 2019-05-28 17:08:37 +0200 |
---|---|---|
committer | ben | 2019-05-28 17:08:37 +0200 |
commit | e0f4163c7e783bca7a38a344a8201c4889eccdb7 (patch) | |
tree | 5820b795c9bf7b9e16e3aaea04ac435987ea8265 /src/main.c | |
parent | c814f3c1c2970773ebc10876882776bd10febf0f (diff) | |
download | inexact-beta_1.02.tar.gz inexact-beta_1.02.tar.bz2 inexact-beta_1.02.tar.xz |
[FIX] Windows and Mac OS X compatibility.beta_1.02
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -434,6 +434,7 @@ int main(int argc, char *argv[]) { unsigned char *secretkey = malloc(32); unsigned char *publickey = malloc(32); unsigned char *salt = malloc(32); + if (secretkey == NULL || publickey == NULL || salt == NULL) { printf("Malloc failed\n"); exitcode = 1; |