From Roman Hoog Antink <rha@open.ch>: add remote's IP address to the
"certificate not verified" error message.
This commit is contained in:
parent
f2b1919eeb
commit
6c437507a2
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: oakley.c,v 1.23 2012/08/29 11:24:11 tteras Exp $ */
|
/* $NetBSD: oakley.c,v 1.24 2012/08/29 11:34:37 tteras Exp $ */
|
||||||
|
|
||||||
/* Id: oakley.c,v 1.32 2006/05/26 12:19:46 manubsd Exp */
|
/* Id: oakley.c,v 1.32 2006/05/26 12:19:46 manubsd Exp */
|
||||||
|
|
||||||
|
@ -1434,7 +1434,7 @@ oakley_validate_auth(iph1)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (error != 0) {
|
if (error != 0) {
|
||||||
plog(LLV_ERROR, LOCATION, NULL,
|
plog(LLV_ERROR, LOCATION, iph1->remote,
|
||||||
"the peer's certificate is not verified.\n");
|
"the peer's certificate is not verified.\n");
|
||||||
return ISAKMP_NTYPE_INVALID_CERT_AUTHORITY;
|
return ISAKMP_NTYPE_INVALID_CERT_AUTHORITY;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue