NE_SSL_CERT_CMP(3) neon API reference NE_SSL_CERT_CMP(3)

ne_ssl_cert_cmp, ne_ssl_cert_free - functions to operate on certificate objects

#include <ne_header.h>

int ne_ssl_cert_cmp(const ne_ssl_certificate *c1, const ne_ssl_certificate *c2);

void ne_ssl_cert_free(ne_ssl_certificate *cert);

The ne_ssl_cert_cmp function can be used to compare two certificate objects; it returns zero if they refer to the same certificate, and non-zero otherwise.

The ne_ssl_cert_free function can be used to destroy a certificate object when it is no longer needed.

Joe Orton


29 January 2024 neon 0.33.0