SSL_get_certificate(3)SSL_get_certificate(3)NAME
SSL_get_certificate - Compare two SSL_SESSION structures
SYNOPSIS
#include <openssl/ssl.h>
int SSL_SESSION_cmp(
SSL_SESSION *a,
SSL_SESSION *b );
DESCRIPTIONSSL_SESSION_cmp() compares two SSL_SESSION structures. If the two
structures are the same, this API return 0, otherwise non-zero value is
returned.
RETURN VALUES
The following return values can occur: SSL_SESSION structures, *a and
*b, are the same. SSL_SESSION structures, *a and *b, are different.
SEE ALSO
Functions: SSL_get_session(3), SSL_SESSION_free(3), SSL_set_session(3)SSL_get_certificate(3)