Re: [Swan-dev] pluto: Fix NSS certificate crash

2015-05-01 Thread Matt Rogers
On 04/30, Herbert Xu wrote: > When we instantiate a connection we simply copy the certificate > over, without getting a reference count over the new certificate > reference, resulting in a bogus certificate when the instance is > deleted. > > Signed-off-by: Herbert Xu > > diff --git a/programs/p

[Swan-dev] pluto: Fix NSS certificate crash

2015-04-30 Thread Herbert Xu
When we instantiate a connection we simply copy the certificate over, without getting a reference count over the new certificate reference, resulting in a bogus certificate when the instance is deleted. Signed-off-by: Herbert Xu diff --git a/programs/pluto/connections.c b/programs/pluto/connecti