summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/regress/lib/libcrypto/rsa/rsa_method_test.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/regress/lib/libcrypto/rsa/rsa_method_test.c b/src/regress/lib/libcrypto/rsa/rsa_method_test.c
index 02189c56ba..523e37232b 100644
--- a/src/regress/lib/libcrypto/rsa/rsa_method_test.c
+++ b/src/regress/lib/libcrypto/rsa/rsa_method_test.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: rsa_method_test.c,v 1.3 2025/01/04 21:29:45 tb Exp $ */ 1/* $OpenBSD: rsa_method_test.c,v 1.4 2025/01/05 15:42:48 tb Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2025 Theo Buehler <tb@openbsd.org> 4 * Copyright (c) 2025 Theo Buehler <tb@openbsd.org>
@@ -230,7 +230,6 @@ sign_and_verify_test(void)
230 if (!RSA_meth_set_verify(sign_verify_method, rsa_ex_data_verify)) 230 if (!RSA_meth_set_verify(sign_verify_method, rsa_ex_data_verify))
231 errx(1, "%s: RSA_meth_set_verify", __func__); 231 errx(1, "%s: RSA_meth_set_verify", __func__);
232 232
233 RSA_set_flags(rsa_bogus, RSA_FLAG_SIGN_VER);
234 if (!RSA_set_method(rsa_bogus, sign_verify_method)) 233 if (!RSA_set_method(rsa_bogus, sign_verify_method))
235 errx(1, "%s: RSA_set_method", __func__); 234 errx(1, "%s: RSA_set_method", __func__);
236 235