From: Jan Pokorný <jpokorny@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [PATCH] Fix using bad struct item for auth algorithm
Date: Mon, 26 Nov 2012 20:04:08 +0100 [thread overview]
Message-ID: <1353956648-6943-1-git-send-email-jpokorny@redhat.com> (raw)
Signed-off-by: Jan Pokorn? <jpokorny@redhat.com>
---
server/mcast.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/server/mcast.c b/server/mcast.c
index e850ec7..64006d8 100644
--- a/server/mcast.c
+++ b/server/mcast.c
@@ -447,13 +447,13 @@ mcast_config(config_object_t *config, mcast_options *args)
value, sizeof(value)-1) == 0) {
dbg_printf(1, "Got %s for auth\n", value);
if (!strcasecmp(value, "none")) {
- args->hash = AUTH_NONE;
+ args->auth = AUTH_NONE;
} else if (!strcasecmp(value, "sha1")) {
- args->hash = AUTH_SHA1;
+ args->auth = AUTH_SHA1;
} else if (!strcasecmp(value, "sha256")) {
- args->hash = AUTH_SHA256;
+ args->auth = AUTH_SHA256;
} else if (!strcasecmp(value, "sha512")) {
- args->hash = AUTH_SHA512;
+ args->auth = AUTH_SHA512;
} else {
dbg_printf(1, "Unsupported auth: %s\n", value);
++errors;
--
1.7.11.7
reply other threads:[~2012-11-26 19:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1353956648-6943-1-git-send-email-jpokorny@redhat.com \
--to=jpokorny@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).