From 9d0a4584f65d09d396e2dd655f7ae390ac64d60e Mon Sep 17 00:00:00 2001 From: Dmitry Ryazantsev Date: Tue, 9 Jan 2018 16:04:55 +0200 Subject: Fix MSVS2017 build errors. Also add missing getopt.h header for gostsum and gost12sum tools build in MSVS (borrowed from https://github.com/skandhurkat/Getopt-for-Visual-Studio). --- gost_md2012.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'gost_md2012.c') diff --git a/gost_md2012.c b/gost_md2012.c index 712e0ac..5acb111 100644 --- a/gost_md2012.c +++ b/gost_md2012.c @@ -161,9 +161,7 @@ static int gost_digest_ctrl_512(EVP_MD_CTX *ctx, int type, int arg, void *ptr) strcpy(*((char **)ptr), micalg_512); return 1; } - return 0; } - return 1; default: return 0; } -- cgit v1.1