commit 3516d50be3aff0a1a382e9b64e931522f81cac2b
parent dcdfce5763d230b854099f84aaf6654fddf44698
Author: Joris Vink <joris@coders.se>
Date: Wed, 20 Apr 2022 11:10:01 +0200
adjust log messages
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/python.c b/src/python.c
@@ -2975,7 +2975,7 @@ pyconnection_get_peer_x509dict(struct pyconnection *pyc, void *closure)
pyconnection_x509_cb)) {
if (PyErr_Occurred() == NULL) {
PyErr_Format(PyExc_RuntimeError,
- "failed to add issuer name to dictionary");
+ "failed to add subject name to dictionary");
}
goto out;
}
@@ -2989,7 +2989,7 @@ pyconnection_get_peer_x509dict(struct pyconnection *pyc, void *closure)
if (!kore_tls_x509name_foreach(name, 0, issuer, pyconnection_x509_cb)) {
if (PyErr_Occurred() == NULL) {
PyErr_Format(PyExc_RuntimeError,
- "failed to add subject name to dictionary");
+ "failed to add issuer name to dictionary");
}
goto out;
}