projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More to-do.
[pintos-anon]
/
grading
/
vm
/
child-linear.c
diff --git
a/grading/vm/child-linear.c
b/grading/vm/child-linear.c
index 1b22b49a41c7349058f7fc0f6f6fb34beedaa3a4..4fa58b40eb77396cfab1225e6f08436bff5c97d7 100644
(file)
--- a/
grading/vm/child-linear.c
+++ b/
grading/vm/child-linear.c
@@
-1,5
+1,6
@@
#include <stdio.h>
#include <stdio.h>
-#include "arc4.h"
+#include <string.h>
+#include "../lib/arc4.h"
#define SIZE (128 * 1024)
#define SIZE (128 * 1024)
@@
-17,7
+18,7
@@
main (int argc, char *argv[])
arc4_crypt (&arc4, buf, SIZE);
/* Decrypt back to zeros. */
arc4_crypt (&arc4, buf, SIZE);
/* Decrypt back to zeros. */
- arc4_init (&arc4, key, strlen (key))
)
;
+ arc4_init (&arc4, key, strlen (key));
arc4_crypt (&arc4, buf, SIZE);
/* Check that it's all zeros. */
arc4_crypt (&arc4, buf, SIZE);
/* Check that it's all zeros. */