diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2017-01-06 13:11:50 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2017-01-08 01:42:51 +0000 |
commit | 568b9cdc646904f0966767467d6a28adaa5c8f68 (patch) | |
tree | d45a7e49838af6938c4fbedf8d81d832bb258de0 /crypto/asn1/standard_methods.h | |
parent | 52ad523c0e7bc159fcc84549bece61bb5c3e44a8 (diff) | |
download | openssl-568b9cdc646904f0966767467d6a28adaa5c8f68.zip openssl-568b9cdc646904f0966767467d6a28adaa5c8f68.tar.gz openssl-568b9cdc646904f0966767467d6a28adaa5c8f68.tar.bz2 |
clarify comment
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2177)
Diffstat (limited to 'crypto/asn1/standard_methods.h')
-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 51b0e81..322ba97 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], |