summaryrefslogtreecommitdiff
path: root/src/libstrongswan/credentials/sets/auth_cfg_wrapper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstrongswan/credentials/sets/auth_cfg_wrapper.c')
-rw-r--r--src/libstrongswan/credentials/sets/auth_cfg_wrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstrongswan/credentials/sets/auth_cfg_wrapper.c b/src/libstrongswan/credentials/sets/auth_cfg_wrapper.c
index c6b8d0c7e..8393d5b18 100644
--- a/src/libstrongswan/credentials/sets/auth_cfg_wrapper.c
+++ b/src/libstrongswan/credentials/sets/auth_cfg_wrapper.c
@@ -108,7 +108,7 @@ static bool fetch_cert(wrapper_enumerator_t *enumerator,
}
*value = cert;
enumerator->auth->replace(enumerator->auth, enumerator->inner,
- *rule, cert->get_ref(cert));
+ *rule, cert);
return TRUE;
}