diff options
author | Hakan Olsson <ho@cvs.openbsd.org> | 2005-05-22 20:35:49 +0000 |
---|---|---|
committer | Hakan Olsson <ho@cvs.openbsd.org> | 2005-05-22 20:35:49 +0000 |
commit | 1ab007e874cbeba337139155761f26c8f44c67c6 (patch) | |
tree | 6ef487ecb146e950798fd415b7f4ec02652f8b42 /usr.sbin/sasyncd/sasyncd.h | |
parent | 70630e70ff57f4e98691631edb8aea27a95cc743 (diff) |
No more SSL between peers, instead do shared key AES & SHA
Diffstat (limited to 'usr.sbin/sasyncd/sasyncd.h')
-rw-r--r-- | usr.sbin/sasyncd/sasyncd.h | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/usr.sbin/sasyncd/sasyncd.h b/usr.sbin/sasyncd/sasyncd.h index 57648575482..3eb107e33c8 100644 --- a/usr.sbin/sasyncd/sasyncd.h +++ b/usr.sbin/sasyncd/sasyncd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sasyncd.h,v 1.3 2005/05/22 12:14:16 ho Exp $ */ +/* $OpenBSD: sasyncd.h,v 1.4 2005/05/22 20:35:48 ho Exp $ */ /* * Copyright (c) 2005 Håkan Olsson. All rights reserved. @@ -47,10 +47,6 @@ struct cfgstate { char *carp_ifname; int carp_check_interval; - char *cafile; - char *certfile; - char *privkeyfile; - char *sharedkey; int pfkey_socket; @@ -67,11 +63,7 @@ extern struct cfgstate cfgstate; #define SASYNCD_CFGFILE "/etc/sasyncd.conf" #define CARP_DEFAULT_INTERVAL 10 - -#define SASYNCD_DEFAULT_PORT 501 -#define SASYNCD_CAFILE "/etc/ssl/ca.crt" -#define SASYNCD_CERTFILE "/etc/ssl/sasyncd.crt" -#define SASYNCD_PRIVKEY "/etc/ssl/private/sasyncd.key" +#define SASYNCD_DEFAULT_PORT 500 /* * sasyncd "protocol" definition @@ -103,8 +95,7 @@ void log_err(const char *, ...); void net_ctl_update_state(void); int net_init(void); void net_handle_messages(fd_set *); -int net_queue(struct syncpeer *, u_int32_t, u_int8_t *, u_int32_t, - u_int32_t); +int net_queue(struct syncpeer *, u_int32_t, u_int8_t *, u_int32_t); void net_send_messages(fd_set *); int net_set_rfds(fd_set *); int net_set_pending_wfds(fd_set *); |