summaryrefslogtreecommitdiff
path: root/test/errtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/errtest.c')
-rw-r--r--test/errtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/errtest.c b/test/errtest.c
index e8c7d44306..443bd0a57d 100644
--- a/test/errtest.c
+++ b/test/errtest.c
@@ -111,7 +111,7 @@ static int vdata_appends(void)
{
const char *data;
- CRYPTOerr(0, ERR_R_MALLOC_FAILURE);
+ ERR_raise(ERR_LIB_CRYPTO, ERR_R_MALLOC_FAILURE);
ERR_add_error_data(1, "hello ");
ERR_add_error_data(1, "world");
ERR_peek_error_data(&data, NULL);