X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=test_keyexpimp.c;h=31a42f7260c041faabe7bee50f7ea6904fc76686;hb=5ac243da2a2bb76afecacc47c84e0ba0e60bed14;hp=9a84516058281741f94f62af3bcfc68839888e7c;hpb=410e6c831e2fc37ac9c81c5c6e2e32f564720e86;p=openssl-gost%2Fengine.git diff --git a/test_keyexpimp.c b/test_keyexpimp.c index 9a84516..31a42f7 100644 --- a/test_keyexpimp.c +++ b/test_keyexpimp.c @@ -1,4 +1,14 @@ -#include +/* + * Copyright (c) 2019-2020 Dmitry Belyavskiy + * + * Contents licensed under the terms of the OpenSSL license + * See https://www.openssl.org/source/license.html for details + */ +#ifdef _MSC_VER +# include +#else +# include +#endif #include #include #include @@ -9,9 +19,10 @@ #include "e_gost_err.h" #include "gost_grasshopper_cipher.h" -#define T(e) if (!(e)) {\ - ERR_print_errors_fp(stderr);\ - OpenSSLDie(__FILE__, __LINE__, #e);\ +#define T(e) \ + if (!(e)) { \ + ERR_print_errors_fp(stderr); \ + OpenSSLDie(__FILE__, __LINE__, #e); \ } static void hexdump(FILE *f, const char *title, const unsigned char *s, int l)