diff options
-rw-r--r-- | crypto/asn1/standard_methods.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/crypto/asn1/standard_methods.h b/crypto/asn1/standard_methods.h index 51b0e81f68..322ba9787f 100644 --- a/crypto/asn1/standard_methods.h +++ b/crypto/asn1/standard_methods.h @@ -7,7 +7,11 @@ * https://www.openssl.org/source/license.html */ -/* Keep this sorted in type order !! */ +/* + * This table MUST be kept in ascening order of the NID each method + * represents (corresponding to the pkey_id field) as OBJ_bsearch + * is used to search it. + */ static const EVP_PKEY_ASN1_METHOD *standard_methods[] = { #ifndef OPENSSL_NO_RSA &rsa_asn1_meths[0], |