More ITS#5968: Edit AVA_Sort() comment to describe new behavior.

This commit is contained in:
Hallvard Furuseth 2009-03-20 17:11:28 +00:00
parent 528193ec23
commit fb8a419e58

View File

@ -220,10 +220,7 @@ rdnValidate(
/*
* AVA sorting inside a RDN
*
* rule: sort attributeTypes in alphabetical order; in case of multiple
* occurrences of the same attributeType, sort values in byte order
* (use memcmp, which implies alphabetical order in case of IA5 value;
* this should guarantee the repeatability of the operation).
* Rule: sort attributeTypes in alphabetical order.
*
* Note: the sorting can be slightly improved by sorting first
* by attribute type length, then by alphabetical order.