summaryrefslogtreecommitdiff
path: root/include/openssl
diff options
context:
space:
mode:
authorslontis <shane.lontis@oracle.com>2023-02-27 13:53:25 +1000
committerPauli <pauli@openssl.org>2023-03-01 09:20:49 +1100
commit5f820bd7535b871fdfdc0303c3af23ba4be901f0 (patch)
tree8731a54f88181ea254b78b1a25016f8fd241bd19 /include/openssl
parent3a4e09ab42654b3d223f0f8dd1a9c58b2902ddcc (diff)
downloadopenssl-new-5f820bd7535b871fdfdc0303c3af23ba4be901f0.tar.gz
Fix potential infinite loops in ECDSA signing.
Similiar checks to the DSA code have been added for ECDSA also. This should not be a problem when using named groups. Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20384)
Diffstat (limited to 'include/openssl')
-rw-r--r--include/openssl/ecerr.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/openssl/ecerr.h b/include/openssl/ecerr.h
index 46405ac62d..f15f91f6bf 100644
--- a/include/openssl/ecerr.h
+++ b/include/openssl/ecerr.h
@@ -1,6 +1,6 @@
/*
* Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2023 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
@@ -90,6 +90,7 @@
# define EC_R_RANDOM_NUMBER_GENERATION_FAILED 158
# define EC_R_SHARED_INFO_ERROR 150
# define EC_R_SLOT_FULL 108
+# define EC_R_TOO_MANY_RETRIES 176
# define EC_R_UNDEFINED_GENERATOR 113
# define EC_R_UNDEFINED_ORDER 128
# define EC_R_UNKNOWN_COFACTOR 164