aboutsummaryrefslogtreecommitdiffstats
path: root/src/pluto/x509.c
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2009-08-31 23:05:45 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2009-08-31 23:05:45 +0200
commitdc4aadc3f27b2164098ce71dc909ddfebfe1d38a (patch)
tree303303fc716dd3283862769a81fc35d943d8ad6e /src/pluto/x509.c
parenta63f62c03b07d08a02de181e9d156e0e49e55231 (diff)
downloadstrongswan-dc4aadc3f27b2164098ce71dc909ddfebfe1d38a.tar.bz2
strongswan-dc4aadc3f27b2164098ce71dc909ddfebfe1d38a.tar.xz
use crl_reason_t definition from <credentials/certificates/crl.h>
Diffstat (limited to 'src/pluto/x509.c')
-rw-r--r--src/pluto/x509.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pluto/x509.c b/src/pluto/x509.c
index 0080add0b..9d3bf89b0 100644
--- a/src/pluto/x509.c
+++ b/src/pluto/x509.c
@@ -1986,7 +1986,7 @@ bool verify_x509cert(const x509cert_t *cert, bool strict, time_t *until)
{
time_t nextUpdate = *until;
time_t revocationDate = UNDEFINED_TIME;
- crl_reason_t revocationReason = REASON_UNSPECIFIED;
+ crl_reason_t revocationReason = CRL_UNSPECIFIED;
/* first check certificate revocation using ocsp */
cert_status_t status = verify_by_ocsp(cert, &nextUpdate