summaryrefslogtreecommitdiff
path: root/libsoup/hsts
diff options
context:
space:
mode:
authorCarlos Garcia Campos <cgarcia@igalia.com>2021-04-20 15:03:14 +0200
committerCarlos Garcia Campos <carlosgc@gnome.org>2021-04-20 14:17:34 +0000
commit7f208403f6bb93602986845fda32a3000e0d8804 (patch)
treea69ea4e2d098aff1530e225151b6693e6a67c957 /libsoup/hsts
parent15296b4c393e9d1600ce13d859b4b548d9e05ac2 (diff)
downloadlibsoup-7f208403f6bb93602986845fda32a3000e0d8804.tar.gz
message: rename tls-certificate and tls-certificate-errors properties
As tls-peer-certificate and tls-peer-certificate-errors. It's consistent with GLib API and will avoid confusion with client side certificates when support is added.
Diffstat (limited to 'libsoup/hsts')
-rw-r--r--libsoup/hsts/soup-hsts-enforcer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsoup/hsts/soup-hsts-enforcer.c b/libsoup/hsts/soup-hsts-enforcer.c
index e51ad3c1..b4954542 100644
--- a/libsoup/hsts/soup-hsts-enforcer.c
+++ b/libsoup/hsts/soup-hsts-enforcer.c
@@ -496,7 +496,7 @@ on_sts_known_host_message_starting (SoupMessage *msg, SoupHSTSEnforcer *hsts_enf
any errors with the underlying secure transport for STS
known hosts. */
- errors = soup_message_get_tls_certificate_errors (msg);
+ errors = soup_message_get_tls_peer_certificate_errors (msg);
if (errors)
soup_session_cancel_message (priv->session, msg);
}