ASN1_STRING_cmp

Compare two ASN1_STRING values by type and content octets.

Synopsis

Declared in <openssl/asn1.h>

int
ASN1_STRING_cmp(
    ASN1_STRING const* a,
    ASN1_STRING const* b);

Return Value

Negative, zero, or positive like memcmp(), considering type then data.

Parameters

NameDescription
aFirst string.
bSecond string.