diff options
author | tb <> | 2023-11-19 13:11:06 +0000 |
---|---|---|
committer | tb <> | 2023-11-19 13:11:06 +0000 |
commit | fb1118fbee181ebbe9e392e154b296f14bcd5354 (patch) | |
tree | 0679daa2e335eaf7be0ab335b57d0e34615804b8 /src/regress/lib/libcrypto/dsa/dsatest.c | |
parent | bfddc812354088c190d7f79d600e1f937ba951ef (diff) | |
download | openbsd-fb1118fbee181ebbe9e392e154b296f14bcd5354.tar.gz openbsd-fb1118fbee181ebbe9e392e154b296f14bcd5354.tar.bz2 openbsd-fb1118fbee181ebbe9e392e154b296f14bcd5354.zip |
Unifdef OPENSSL_NO_ENGINE in libcrypto regress
Diffstat (limited to 'src/regress/lib/libcrypto/dsa/dsatest.c')
-rw-r--r-- | src/regress/lib/libcrypto/dsa/dsatest.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/regress/lib/libcrypto/dsa/dsatest.c b/src/regress/lib/libcrypto/dsa/dsatest.c index 62343455f3..10ebc3a9f8 100644 --- a/src/regress/lib/libcrypto/dsa/dsatest.c +++ b/src/regress/lib/libcrypto/dsa/dsatest.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dsatest.c,v 1.9 2023/08/20 22:22:55 tb Exp $ */ | 1 | /* $OpenBSD: dsatest.c,v 1.10 2023/11/19 13:11:05 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -137,12 +137,10 @@ main(int argc, char **argv) | |||
137 | if ((dsa = DSA_new()) == NULL) | 137 | if ((dsa = DSA_new()) == NULL) |
138 | goto end; | 138 | goto end; |
139 | 139 | ||
140 | #ifdef OPENSSL_NO_ENGINE | ||
141 | if (DSA_get0_engine(dsa) != NULL) { | 140 | if (DSA_get0_engine(dsa) != NULL) { |
142 | BIO_printf(bio_err, "ENGINE was not NULL\n"); | 141 | BIO_printf(bio_err, "ENGINE was not NULL\n"); |
143 | goto end; | 142 | goto end; |
144 | } | 143 | } |
145 | #endif | ||
146 | 144 | ||
147 | if (!DSA_generate_parameters_ex(dsa, 512, seed, 20, &counter, &h, cb)) | 145 | if (!DSA_generate_parameters_ex(dsa, 512, seed, 20, &counter, &h, cb)) |
148 | goto end; | 146 | goto end; |