aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/credentials/certificates
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2008-03-14 15:11:29 +0000
committerMartin Willi <martin@strongswan.org>2008-03-14 15:11:29 +0000
commit8d04f78d0762f5d4ff0f2b0a5e6386bea2289c21 (patch)
tree85e5c837fa9aae1bb887d1332ae91dd813525877 /src/libstrongswan/credentials/certificates
parent39ea88f694a782d82f1e2c803fee4a44a2aeff51 (diff)
downloadstrongswan-8d04f78d0762f5d4ff0f2b0a5e6386bea2289c21.tar.bz2
strongswan-8d04f78d0762f5d4ff0f2b0a5e6386bea2289c21.tar.xz
removed X509_PEER flag; flags are meant to read cert, not to store additional state in cert
removed x509_t.set_flags for the reason above implemented a simple, generic shared_key_t
Diffstat (limited to 'src/libstrongswan/credentials/certificates')
-rw-r--r--src/libstrongswan/credentials/certificates/x509.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/libstrongswan/credentials/certificates/x509.h b/src/libstrongswan/credentials/certificates/x509.h
index a4f9d1ff3..9d4054710 100644
--- a/src/libstrongswan/credentials/certificates/x509.h
+++ b/src/libstrongswan/credentials/certificates/x509.h
@@ -37,10 +37,8 @@ enum x509_flag_t {
X509_AA = (1<<1),
/** cert has OCSP signer constraint */
X509_OCSP_SIGNER = (1<<2),
- /** cert belongs to an end entity */
- X509_PEER = (1<<3),
/** cert is self-signed */
- X509_SELF_SIGNED = (1<<4),
+ X509_SELF_SIGNED = (1<<3),
};
/**
@@ -69,13 +67,6 @@ struct x509_t {
x509_flag_t (*get_flags)(x509_t *this);
/**
- * Set the flags for this certificate.
- *
- * @param flags set of flags
- */
- void (*set_flags)(x509_t *this, x509_flag_t flags);
-
- /**
* Get the certificate serial number.
*
* @return chunk pointing to internal serial number