ASN1_OCTET_STRING_cmp

Compare two ASN.1 OCTET STRING values lexicographically by content.

Synopsis

Declared in <openssl/asn1.h>

int
ASN1_OCTET_STRING_cmp(
    ASN1_OCTET_STRING const* a,
    ASN1_OCTET_STRING const* b);

Return Value

Negative, zero, or positive like memcmp according to the content bytes.

Parameters

NameDescription
aFirst octet string.
bSecond octet string.