On 03-01-17 22:42, selva.n...@gmail.com wrote:
> From: Selva Nair <selva.n...@gmail.com>
> 
> Signed-off-by: Selva Nair <selva.n...@gmail.com>
> ---
>  src/openvpn/push.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/openvpn/push.c b/src/openvpn/push.c
> index f515475..c9c04a6 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
> 

ACK.  And sorry for this 'one brace too far'...  (It did ignore the
cipher update nicely though ;) )

-Steffan

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to