Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 276051 Details for
Bug 365077
net-firewall/ipsec-tools-0.8.0: version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ipsec-tools-def-psk.patch
ipsec-tools-def-psk.patch (text/plain), 907 bytes, created by
Jaco Kroon
on 2011-06-06 20:45:58 UTC
(
hide
)
Description:
ipsec-tools-def-psk.patch
Filename:
MIME Type:
Creator:
Jaco Kroon
Created:
2011-06-06 20:45:58 UTC
Size:
907 bytes
patch
obsolete
>diff -brau ipsec-tools-0.7.3.o/src/racoon/oakley.c ipsec-tools-0.7.3/src/racoon/oakley.c >--- ipsec-tools-0.7.3.o/src/racoon/oakley.c 2009-08-13 11:18:45.000000000 +0200 >+++ ipsec-tools-0.7.3/src/racoon/oakley.c 2011-06-06 09:36:11.000000000 +0200 >@@ -2498,8 +2498,21 @@ > plog(LLV_ERROR, LOCATION, iph1->remote, > "couldn't find the pskey for %s.\n", > saddrwop2str(iph1->remote)); >+ } >+ } >+ if (iph1->authstr == NULL) { >+ /* >+ * If we could not locate a psk above try and locate >+ * the default psk, ie, "*". >+ */ >+ iph1->authstr = privsep_getpsk("*", 1); >+ if (iph1->authstr == NULL) { >+ plog(LLV_ERROR, LOCATION, iph1->remote, >+ "couldn't find the the default pskey either.\n"); > goto end; > } >+ plog(LLV_NOTIFY, LOCATION, iph1->remote, >+ "Using default PSK.\n"); > } > plog(LLV_DEBUG, LOCATION, NULL, "the psk found.\n"); > /* should be secret PSK */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 365077
:
276049
| 276051