Blame SOURCES/net-snmp-5.8-util-fix.patch
|
|
95811f |
diff -urNp a/snmplib/cert_util.c b/snmplib/cert_util.c
|
|
|
95811f |
--- a/snmplib/cert_util.c 2021-12-09 08:45:23.217942229 +0100
|
|
|
95811f |
+++ b/snmplib/cert_util.c 2021-12-09 08:46:56.567562352 +0100
|
|
|
95811f |
@@ -1368,8 +1368,7 @@ _add_certfile(const char* dirname, const
|
|
|
95811f |
|
|
|
95811f |
okey = PEM_read_bio_PrivateKey(certbio, NULL, NULL, NULL);
|
|
|
95811f |
if (NULL == okey)
|
|
|
95811f |
- snmp_log(LOG_ERR, "error parsing key file %s\n",
|
|
|
95811f |
- key->info.filename);
|
|
|
95811f |
+ snmp_log(LOG_ERR, "error parsing key file %s\n", filename);
|
|
|
95811f |
else {
|
|
|
95811f |
key = _add_key(okey, dirname, filename, index);
|
|
|
95811f |
if (NULL == key) {
|