summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2024-02-29 20:06:24 +0000
committertb <>2024-02-29 20:06:24 +0000
commitc3e2f7efce1209051fb1189cba8ad4b512c7447c (patch)
tree2f9544e99621985d541065db5038285782a59e16
parent4aefd75c4e8b3bc6c5de9ffbe716e8b965db44b2 (diff)
downloadopenbsd-c3e2f7efce1209051fb1189cba8ad4b512c7447c.tar.gz
openbsd-c3e2f7efce1209051fb1189cba8ad4b512c7447c.tar.bz2
openbsd-c3e2f7efce1209051fb1189cba8ad4b512c7447c.zip
Detect OPENSSL_NO_GOST correctly
-rw-r--r--src/regress/lib/libcrypto/gost/gost2814789t.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/regress/lib/libcrypto/gost/gost2814789t.c b/src/regress/lib/libcrypto/gost/gost2814789t.c
index f4914997cf..261b9271a9 100644
--- a/src/regress/lib/libcrypto/gost/gost2814789t.c
+++ b/src/regress/lib/libcrypto/gost/gost2814789t.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: gost2814789t.c,v 1.10 2023/11/19 13:11:06 tb Exp $ */ 1/* $OpenBSD: gost2814789t.c,v 1.11 2024/02/29 20:06:24 tb Exp $ */
2/* vim: set fileencoding=ascii : Charset: ASCII */ 2/* vim: set fileencoding=ascii : Charset: ASCII */
3/* test/gostr2814789t.c */ 3/* test/gostr2814789t.c */
4/* ==================================================================== 4/* ====================================================================
@@ -9,6 +9,7 @@
9 * ==================================================================== 9 * ====================================================================
10 */ 10 */
11#include <stdio.h> 11#include <stdio.h>
12#include <openssl/opensslfeatures.h>
12 13
13#if defined(OPENSSL_NO_GOST) 14#if defined(OPENSSL_NO_GOST)
14int main(int argc, char *argv[]) 15int main(int argc, char *argv[])