summaryrefslogtreecommitdiffstats
path: root/src/protocols
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-10-29 20:47:17 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-10-29 20:47:17 +0100
commit020bb327dd9445fd82dbf8d2e59a3d5bda408bb3 (patch)
tree53c658aeb80cbaabf6b1cb41b7aaf9e432744c5e /src/protocols
parent8df7ea375df1ca8868763e30e90120e13af2b808 (diff)
downloadfastd-020bb327dd9445fd82dbf8d2e59a3d5bda408bb3.tar
fastd-020bb327dd9445fd82dbf8d2e59a3d5bda408bb3.zip
Rename fastd_parse_method_name to fastd_method_get_by_name
Diffstat (limited to 'src/protocols')
-rw-r--r--src/protocols/ec25519_fhmqvc/ec25519_fhmqvc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocols/ec25519_fhmqvc/ec25519_fhmqvc.c b/src/protocols/ec25519_fhmqvc/ec25519_fhmqvc.c
index ab66f93..15e85d6 100644
--- a/src/protocols/ec25519_fhmqvc/ec25519_fhmqvc.c
+++ b/src/protocols/ec25519_fhmqvc/ec25519_fhmqvc.c
@@ -408,7 +408,7 @@ static bool establish(fastd_context_t *ctx, fastd_peer_t *peer, const char *meth
return false;
}
- const fastd_method_t *method = fastd_parse_method_name(method_name);
+ const fastd_method_t *method = fastd_method_get_by_name(method_name);
if (is_session_valid(ctx, &peer->protocol_state->session) && !is_session_valid(ctx, &peer->protocol_state->old_session)) {
if (peer->protocol_state->old_session.method)