strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6a8990
)
Correctly serve certificates if CERT_ANY requested
author
Martin Willi
<martin@strongswan.org>
Mon, 21 Sep 2009 13:34:29 +0000
(15:34 +0200)
committer
Martin Willi
<martin@strongswan.org>
Mon, 21 Sep 2009 13:34:29 +0000
(15:34 +0200)
src/charon/plugins/stroke/stroke_cred.c
patch
|
blob
|
history
diff --git
a/src/charon/plugins/stroke/stroke_cred.c
b/src/charon/plugins/stroke/stroke_cred.c
index
d3eb1fd
..
6055770
100644
(file)
--- a/
src/charon/plugins/stroke/stroke_cred.c
+++ b/
src/charon/plugins/stroke/stroke_cred.c
@@
-151,7
+151,7
@@
static bool certs_filter(id_data_t *data, certificate_t **in, certificate_t **ou
certificate_t *cert = *in;
chunk_t keyid;
- if (
cert->get_type(cert) != data->type
)
+ if (
data->type != CERT_ANY && data->type != cert->get_type(cert)
)
{
return FALSE;
}