diff options
| author | tb <> | 2024-02-29 20:06:24 +0000 |
|---|---|---|
| committer | tb <> | 2024-02-29 20:06:24 +0000 |
| commit | 1e0d645c0f923ca3382c58c36fe1ae793fceb8d1 (patch) | |
| tree | 2f9544e99621985d541065db5038285782a59e16 /src | |
| parent | 5b6de8e01cb12a35758d9cb167ea32baa20c5a1f (diff) | |
| download | openbsd-1e0d645c0f923ca3382c58c36fe1ae793fceb8d1.tar.gz openbsd-1e0d645c0f923ca3382c58c36fe1ae793fceb8d1.tar.bz2 openbsd-1e0d645c0f923ca3382c58c36fe1ae793fceb8d1.zip | |
Detect OPENSSL_NO_GOST correctly
Diffstat (limited to 'src')
| -rw-r--r-- | src/regress/lib/libcrypto/gost/gost2814789t.c | 3 |
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) |
| 14 | int main(int argc, char *argv[]) | 15 | int main(int argc, char *argv[]) |
