forked from mirrors/kore
adjust log messages
This commit is contained in:
parent
dcdfce5763
commit
3516d50be3
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue