Skip to content

Commit 11102ad

Browse files
author
tb
committed
rsa_method_test: point at correct function in error string
1 parent 77f522b commit 11102ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/regress/lib/libcrypto/rsa/rsa_method_test.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $OpenBSD: rsa_method_test.c,v 1.5 2025/01/05 18:21:36 tb Exp $ */
1+
/* $OpenBSD: rsa_method_test.c,v 1.6 2025/08/26 05:07:50 tb Exp $ */
22

33
/*
44
* Copyright (c) 2025 Theo Buehler <[email protected]>
@@ -221,7 +221,7 @@ sign_and_verify_test(void)
221221
errx(1, "%s: RSA_set_ex_data", __func__);
222222

223223
if ((sign_verify_method = RSA_meth_dup(RSA_get_default_method())) == NULL)
224-
errx(1, "%s: RSA_get_default_method", __func__);
224+
errx(1, "%s: RSA_meth_dup", __func__);
225225
if (!RSA_meth_set0_app_data(sign_verify_method, rsa_priv))
226226
errx(1, "%s: RSA_meth_set0_app_data", __func__);
227227

0 commit comments

Comments
 (0)