chiark
/
gitweb
/
~ianmdlvl
/
secnet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Import release 0.1.10
[secnet.git]
/
transform.c
diff --git
a/transform.c
b/transform.c
index 4c55b454c317defe095bfd01bd3e6b20882fd3c2..dba0ef8193334651ec963dbefd25c196c4bc213a 100644
(file)
--- a/
transform.c
+++ b/
transform.c
@@
-8,6
+8,7
@@
the packets sent over the wire. */
#include <stdio.h>
the packets sent over the wire. */
#include <stdio.h>
+#include <string.h>
#include "secnet.h"
#include "util.h"
#include "serpent.h"
#include "secnet.h"
#include "util.h"
#include "serpent.h"
@@
-53,7
+54,7
@@
static bool_t transform_setkey(void *sst, uint8_t *key, uint32_t keylen)
struct transform_inst *ti=sst;
if (keylen<REQUIRED_KEYLEN) {
struct transform_inst *ti=sst;
if (keylen<REQUIRED_KEYLEN) {
- Message(M_ERR
OR
,"transform_create: insufficient key material supplied "
+ Message(M_ERR,"transform_create: insufficient key material supplied "
"(need %d bytes, got %d)\n",REQUIRED_KEYLEN,keylen);
return False;
}
"(need %d bytes, got %d)\n",REQUIRED_KEYLEN,keylen);
return False;
}