summaryrefslogtreecommitdiffstats
path: root/src/wireguard.h
diff options
context:
space:
mode:
authorMatt Dunwoodie <ncon@mail.noconroy.net>2019-09-18 10:12:57 +0200
committerMatt Dunwoodie <ncon@mail.noconroy.net>2019-09-18 10:12:57 +0200
commit374f5f9a4c661a0ed1f2a63ffa4a7d9f07e5276f (patch)
tree0085fc7605b4d7ce6adaff714d4c713155f6e295 /src/wireguard.h
parentRename DPRINTF_PEER* to DPRINTF_HS* (diff)
downloadwireguard-openbsd-374f5f9a4c661a0ed1f2a63ffa4a7d9f07e5276f.tar.xz
wireguard-openbsd-374f5f9a4c661a0ed1f2a63ffa4a7d9f07e5276f.zip
Rename *_clean to *_reset
Diffstat (limited to 'src/wireguard.h')
-rw-r--r--src/wireguard.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wireguard.h b/src/wireguard.h
index 217e5c4afc8..057b44a4a34 100644
--- a/src/wireguard.h
+++ b/src/wireguard.h
@@ -229,8 +229,8 @@ static char *wg_error_str[] = {
void wg_handshake_init(struct wg_handshake *);
void wg_session_init(struct wg_session *);
-void wg_handshake_clean(struct wg_handshake *);
-void wg_session_clean(struct wg_session *);
+void wg_handshake_reset(struct wg_handshake *);
+void wg_session_reset(struct wg_session *);
enum wg_error wg_handshake_make_initiation(struct wg_handshake *, uint32_t, struct wg_msg_initiation *);
enum wg_error wg_handshake_make_response(struct wg_handshake *, uint32_t, struct wg_msg_response *);