summaryrefslogtreecommitdiff
path: root/utils/nwztools/upgtools/fwp.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/nwztools/upgtools/fwp.c')
-rw-r--r--utils/nwztools/upgtools/fwp.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/utils/nwztools/upgtools/fwp.c b/utils/nwztools/upgtools/fwp.c
index c300f42f34..34c55f6e5a 100644
--- a/utils/nwztools/upgtools/fwp.c
+++ b/utils/nwztools/upgtools/fwp.c
@@ -19,6 +19,7 @@
19 * 19 *
20 ****************************************************************************/ 20 ****************************************************************************/
21#include <stdio.h> 21#include <stdio.h>
22#include <stdlib.h>
22#include "fwp.h" 23#include "fwp.h"
23#include "misc.h" 24#include "misc.h"
24#include "mg.h" 25#include "mg.h"
@@ -53,9 +54,6 @@ int fwp_crypt(void *buf, int size, int mode)
53 size -= NWZ_KEY_SIZE; 54 size -= NWZ_KEY_SIZE;
54 } 55 }
55 if(size != 0) 56 if(size != 0)
56 { 57 abort();
57 cprintf(GREY, "Cannot fwp_crypt non-multiple of 8!\n");
58 return -1;
59 }
60 return 0; 58 return 0;
61} \ No newline at end of file 59}