diff options
Diffstat (limited to 'src/libstrongswan/credentials/certificates/x509.h')
-rw-r--r-- | src/libstrongswan/credentials/certificates/x509.h | 11 |
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 |