summaryrefslogtreecommitdiff
path: root/engines/e_afalg_err.c
diff options
context:
space:
mode:
authorramin <lordrasmus@gmail.com>2022-09-28 11:41:29 +0200
committerTomas Mraz <tomas@openssl.org>2022-10-21 12:59:14 +0200
commitbd19999b396d03d39eab4a86c6402a970191c9e1 (patch)
treed4ceb6d953868ab1ec9457cb384ab9f7fd7c8a11 /engines/e_afalg_err.c
parent6ca4bd2e4c92531e74acba3e1ff08e6fbb664b20 (diff)
downloadopenssl-new-bd19999b396d03d39eab4a86c6402a970191c9e1.tar.gz
Add af_alg errors to the error queue
If the kernel operation failed the EVP functions just returned without any error message. This commit adds them. Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19289)
Diffstat (limited to 'engines/e_afalg_err.c')
-rw-r--r--engines/e_afalg_err.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/e_afalg_err.c b/engines/e_afalg_err.c
index 47a3d034e5..fa38678e9e 100644
--- a/engines/e_afalg_err.c
+++ b/engines/e_afalg_err.c
@@ -1,6 +1,6 @@
/*
* Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -23,6 +23,7 @@ static ERR_STRING_DATA AFALG_str_reasons[] = {
"kernel does not support afalg"},
{ERR_PACK(0, 0, AFALG_R_KERNEL_DOES_NOT_SUPPORT_ASYNC_AFALG),
"kernel does not support async afalg"},
+ {ERR_PACK(0, 0, AFALG_R_KERNEL_OP_FAILED), "kernel op failed"},
{ERR_PACK(0, 0, AFALG_R_MEM_ALLOC_FAILED), "mem alloc failed"},
{ERR_PACK(0, 0, AFALG_R_SOCKET_ACCEPT_FAILED), "socket accept failed"},
{ERR_PACK(0, 0, AFALG_R_SOCKET_BIND_FAILED), "socket bind failed"},