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 π
Copyright Β© 2001-2026 Joe Orton
signed, sealed, and slaying by neon on 03/20/2026 π«Άπ
π¦ where this page comes from
- arch rolling: neon 0.37.1-1 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms