aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/credentials
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstrongswan/credentials')
-rw-r--r--src/libstrongswan/credentials/certificates/certificate.c2
-rw-r--r--src/libstrongswan/credentials/certificates/certificate.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/libstrongswan/credentials/certificates/certificate.c b/src/libstrongswan/credentials/certificates/certificate.c
index b99e63eab..156d12358 100644
--- a/src/libstrongswan/credentials/certificates/certificate.c
+++ b/src/libstrongswan/credentials/certificates/certificate.c
@@ -24,8 +24,8 @@ ENUM(certificate_type_names, CERT_ANY, CERT_PLUTO_CRL,
"X509_OCSP_REQUEST",
"X509_OCSP_RESPONSE",
"X509_AC",
- "PKCS10_REQUEST",
"TRUSTED_PUBKEY",
+ "PKCS10_REQUEST",
"PGP",
"PLUTO_CERT",
"PLUTO_AC",
diff --git a/src/libstrongswan/credentials/certificates/certificate.h b/src/libstrongswan/credentials/certificates/certificate.h
index 1b0549283..0399d92e6 100644
--- a/src/libstrongswan/credentials/certificates/certificate.h
+++ b/src/libstrongswan/credentials/certificates/certificate.h
@@ -45,10 +45,10 @@ enum certificate_type_t {
CERT_X509_OCSP_RESPONSE,
/** X.509 attribute certificate */
CERT_X509_AC,
- /** PKCS#10 certificate request */
- CERT_PKCS10_REQUEST,
/** trusted, preinstalled public key */
CERT_TRUSTED_PUBKEY,
+ /** PKCS#10 certificate request */
+ CERT_PKCS10_REQUEST,
/** PGP certificate */
CERT_GPG,
/** Pluto cert_t (not a certificate_t), either x509 or PGP */