mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-05 00:00:45 -04:00
Remove pluto specific certificate types
This commit is contained in:
parent
f77d6e16d2
commit
abc04e6b3f
@ -18,7 +18,7 @@
|
||||
#include <utils/debug.h>
|
||||
#include <credentials/certificates/x509.h>
|
||||
|
||||
ENUM(certificate_type_names, CERT_ANY, CERT_PLUTO_CRL,
|
||||
ENUM(certificate_type_names, CERT_ANY, CERT_GPG,
|
||||
"ANY",
|
||||
"X509",
|
||||
"X509_CRL",
|
||||
@ -28,9 +28,6 @@ ENUM(certificate_type_names, CERT_ANY, CERT_PLUTO_CRL,
|
||||
"TRUSTED_PUBKEY",
|
||||
"PKCS10_REQUEST",
|
||||
"PGP",
|
||||
"PLUTO_CERT",
|
||||
"PLUTO_AC",
|
||||
"PLUTO_CRL",
|
||||
);
|
||||
|
||||
ENUM(cert_validation_names, VALIDATION_GOOD, VALIDATION_REVOKED,
|
||||
|
@ -52,10 +52,6 @@ enum certificate_type_t {
|
||||
CERT_PKCS10_REQUEST,
|
||||
/** PGP certificate */
|
||||
CERT_GPG,
|
||||
/** Pluto cert_t (not a certificate_t), either x509 or PGP */
|
||||
CERT_PLUTO_CERT,
|
||||
/** Pluto x509crl_t (not a certificate_t), certificate revocation list */
|
||||
CERT_PLUTO_CRL,
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -104,12 +104,6 @@ METHOD(plugin_t, get_features, int,
|
||||
PLUGIN_REGISTER(CERT_DECODE, pem_certificate_load, FALSE),
|
||||
PLUGIN_PROVIDE(CERT_DECODE, CERT_GPG),
|
||||
PLUGIN_DEPENDS(CERT_DECODE, CERT_GPG),
|
||||
|
||||
/* pluto specific certificate formats */
|
||||
PLUGIN_REGISTER(CERT_DECODE, pem_certificate_load, FALSE),
|
||||
PLUGIN_PROVIDE(CERT_DECODE, CERT_PLUTO_CERT),
|
||||
PLUGIN_REGISTER(CERT_DECODE, pem_certificate_load, FALSE),
|
||||
PLUGIN_PROVIDE(CERT_DECODE, CERT_PLUTO_CRL),
|
||||
};
|
||||
*features = f;
|
||||
return countof(f);
|
||||
|
Loading…
x
Reference in New Issue
Block a user