Rewrite ASN1_STRING_cmp().
authorjsing <jsing@openbsd.org>
Fri, 3 Dec 2021 17:03:54 +0000 (17:03 +0000)
committerjsing <jsing@openbsd.org>
Fri, 3 Dec 2021 17:03:54 +0000 (17:03 +0000)
commitce3d60d308519ea7a1508c2d600de8f8fbae9d82
treec9fa92aa97a8b7f4ee6cec7ecf3f185d651b2d13
parenta059a1e0d6def91e9c103afb5a78aa26097c82f2
Rewrite ASN1_STRING_cmp().

This removes nested ifs and uses more sensible variable names.

ok schwarze@ tb@
lib/libcrypto/asn1/asn1_lib.c