From: Selva Nair Date: Tue, 3 Jan 2017 21:42:18 +0000 (-0500) Subject: Fix push options digest update X-Git-Tag: v2.4.1~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf72ae68c05922c289056f2f851ed36014449cdf;p=thirdparty%2Fopenvpn.git Fix push options digest update Trac: #812 Signed-off-by: Selva Nair Acked-by: Steffan Karger Message-Id: <1483479738-17672-1-git-send-email-selva.nair@gmail.com> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg13816.html Signed-off-by: Gert Doering (cherry picked from commit a5dbf8c8dab23c47407c3f833c4f4aae52408af1) --- diff --git a/src/openvpn/push.c b/src/openvpn/push.c index f5154756a..c9c04a630 100644 --- a/src/openvpn/push.c +++ b/src/openvpn/push.c @@ -692,8 +692,8 @@ push_update_digest(md_ctx_t *ctx, struct buffer *buf, const struct options *opt) { continue; } + md_ctx_update(ctx, (const uint8_t *) line, strlen(line)+1); } - md_ctx_update(ctx, (const uint8_t *) line, strlen(line)+1); } int