X-Git-Url: https://git.saurik.com/apple/ipsec.git/blobdiff_plain/b8c3779817a9fa91e6b7b4457680cb64775c25cf..e8d9021d008d9729f3dfcdc16bb03a990513b007:/ipsec-tools/racoon/backupsa.c diff --git a/ipsec-tools/racoon/backupsa.c b/ipsec-tools/racoon/backupsa.c index 1b9f1f8..47a3be5 100644 --- a/ipsec-tools/racoon/backupsa.c +++ b/ipsec-tools/racoon/backupsa.c @@ -319,7 +319,6 @@ do { \ continue; } l_addtime -= current - created; -#ifdef __APPLE__ if (pfkey_send_add( lcconf->sock_pfkey, satype, @@ -336,24 +335,6 @@ do { \ "restore SA filed line#%d in %s: %s\n", line, lcconf->pathinfo[LC_PATHTYPE_BACKUPSA], ipsec_strerror()); } -#else - if (pfkey_send_add( - lcconf->sock_pfkey, - satype, - mode, - src, - dst, - spi, - reqid, - wsize, - keymat, - e_type, e_keylen, a_type, a_keylen, flags, - 0, l_bytes, l_addtime, 0, seq) < 0) { - plog(LLV_ERROR, LOCATION, NULL, - "restore SA filed line#%d in %s: %s\n", - line, lcconf->pathinfo[LC_PATHTYPE_BACKUPSA], ipsec_strerror()); - } -#endif racoon_free(src); racoon_free(dst); racoon_free(keymat);