[#ASN1_STRING_cmp] = ASN1_STRING_cmp :mrdocs: Compare two ASN1_STRING values by type and content octets. == Synopsis Declared in `<openssl/asn1.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int ASN1_STRING_cmp( xref:ASN1_STRING.adoc[ASN1_STRING] const* a, xref:ASN1_STRING.adoc[ASN1_STRING] const* b); ---- == Return Value Negative, zero, or positive like memcmp(), considering type then data. == Parameters [cols="1,4"] |=== | Name| Description | *a* | First string. | *b* | Second string. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#