NE_SSL_DNAME(3)

✨ NAME ✨

okay so bestie, welcome to NE_SSL_DNAME(3) from the neon API reference πŸ’– this page is all about SSL distinguished name handling, starring two absolute icons: ne_ssl_readable_dname and ne_ssl_dname_cmp πŸŽ€

🌸 SYNOPSIS 🌸

#include <ne_ssl.h>

const char *ne_ssl_readable_dname(const ne_ssl_dname *dname);

int ne_ssl_dname_cmp(const ne_ssl_dname *dn1, const ne_ssl_dname *dn2);

πŸ¦‹ DESCRIPTION πŸ¦‹

ne_ssl_readable_dname takes an ne_ssl_dname object and creates a single-line, human-readable string out of it. The way it gives useful text from a dname object? obsessed. The returned string is malloc()-allocated, and β€” important, bestie β€” it must be free()d by the caller 🫢

ne_ssl_dname_cmp compares two distinguished names and returns zero if they are equal, or non-zero otherwise. lowkey simple, highkey iconic πŸ’…

πŸ”₯ RETURN VALUE πŸ”₯

ne_ssl_readable_dname returns a malloc-allocated string, and never NULL. no cap, it always comes through with a string for you πŸ˜­πŸ’–

⭐ EXAMPLES ⭐

See ne_ssl_cert_subject(3) for an example use of ne_ssl_readable_dname ✨

πŸ‘‘ SEE ALSO πŸ‘‘

Copyright Β© 2001-2026 Joe Orton


signed, sealed, and slaying by neon on 03/20/2026 πŸ«ΆπŸ’‹

πŸ“¦ where this page comes from