X509_NAME_cmp: restrict normal return values to {-1,0,1} to avoid confusion with...
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>
Wed, 2 Sep 2020 11:12:22 +0000 (13:12 +0200)
committerDr. David von Oheimb <David.von.Oheimb@siemens.com>
Thu, 10 Sep 2020 10:07:33 +0000 (12:07 +0200)
commitbc64c5a69b95d45c314ec6ac40a865228cf230cd
treeadf01f017beb043cfbacde8c350be82910dcd22b
parent2aa91df406a8c907b53d01773b1b860117542c48
X509_NAME_cmp: restrict normal return values to {-1,0,1} to avoid confusion with -2 for error

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/12769)
crypto/x509/x509_cmp.c
doc/man3/X509_cmp.pod