1999-03-10 22:28:00 +00:00
|
|
|
diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/common/skip_keystore.c work.new/skip/common/skip_keystore.c
|
|
|
|
--- skipsrc-1.0.orig/skip/common/skip_keystore.c Fri Oct 25 13:12:41 1996
|
|
|
|
+++ work.new/skip/common/skip_keystore.c Tue Mar 9 20:23:43 1999
|
|
|
|
@@ -308,7 +308,7 @@
|
1998-04-13 00:17:45 +00:00
|
|
|
/*
|
1999-03-10 22:28:00 +00:00
|
|
|
* SKIP tunneling mode
|
|
|
|
*/
|
|
|
|
- params->payload_type = IPPROTO_ENCAP;
|
|
|
|
+ params->payload_type = IPPROTO_IPIP;
|
1998-04-13 00:17:45 +00:00
|
|
|
}
|
1999-03-10 22:28:00 +00:00
|
|
|
/*
|
|
|
|
* Return offset of data to decrypt
|
|
|
|
@@ -1177,7 +1177,7 @@
|
|
|
|
* Returns: none
|
|
|
|
*/
|
|
|
|
void
|
|
|
|
-skip_key_iterate(int (*f)(), void *arg)
|
|
|
|
+skip_key_iterate(int (*f)(skip_keycb_t *, void *), void *arg)
|
|
|
|
{
|
|
|
|
skip_keycb_t *cp, *ncp;
|
|
|
|
int i, rc;
|
|
|
|
@@ -1209,7 +1209,7 @@
|
|
|
|
for (cp = skip_decrypt_hashtable[i]; cp; cp = ncp) {
|
|
|
|
ncp = cp->next;
|
1998-04-13 00:17:45 +00:00
|
|
|
|
1999-03-10 22:28:00 +00:00
|
|
|
- rc = (*f)(cp);
|
|
|
|
+ rc = (*f)(cp, arg);
|
1998-01-09 23:23:58 +00:00
|
|
|
|
1999-03-10 22:28:00 +00:00
|
|
|
if (rc) {
|
|
|
|
skip_hash_remove(cp, skip_decrypt_hashtable,
|