mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-04 00:13:40 +02:00
gtlscertificate: Add g_tls_certificate_is_same() function
* Certificate equality in PKIX in general is equality between the DER encoding of the certificates. https://bugzilla.gnome.org/show_bug.cgi?id=681116
This commit is contained in:
@@ -78,6 +78,10 @@ GTlsCertificateFlags g_tls_certificate_verify (GTlsCertificate
|
||||
GSocketConnectable *identity,
|
||||
GTlsCertificate *trusted_ca);
|
||||
|
||||
GLIB_AVAILABLE_IN_2_34
|
||||
gboolean g_tls_certificate_is_same (GTlsCertificate *cert_one,
|
||||
GTlsCertificate *cert_two);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __G_TLS_CERTIFICATE_H__ */
|
||||
|
Reference in New Issue
Block a user