]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
ERR: Add a missing common reason string
authorRichard Levitte <levitte@openssl.org>
Fri, 19 Nov 2021 06:37:29 +0000 (07:37 +0100)
committerDr. David von Oheimb <dev@ddvo.net>
Tue, 23 Nov 2021 14:13:56 +0000 (15:13 +0100)
There was no string present for ERR_R_PASSED_INVALID_ARGUMENT

Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
(Merged from https://github.com/openssl/openssl/pull/17069)

crypto/err/err.c

index 1372d52f80ee4b245b79dd4a6909b9fe6c4c09e5..70a4cd402c945e30f4d0f11fc84ffa7c00d73867 100644 (file)
@@ -129,6 +129,7 @@ static ERR_STRING_DATA ERR_str_reasons[] = {
     {ERR_R_INTERNAL_ERROR, "internal error"},
     {ERR_R_DISABLED, "called a function that was disabled at compile-time"},
     {ERR_R_INIT_FAIL, "init fail"},
+    {ERR_R_PASSED_INVALID_ARGUMENT, "passed invalid argument"},
     {ERR_R_OPERATION_FAIL, "operation fail"},
 
     {0, NULL},