adjust log messages

This commit is contained in:
Joris Vink 2022-04-20 11:10:01 +02:00
parent dcdfce5763
commit 3516d50be3
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}