Remove x509_flag_names, flags do not work with ENUM()
This commit is contained in:
@@ -30,8 +30,7 @@ credentials/keys/private_key.c credentials/keys/private_key.h \
|
|||||||
credentials/keys/public_key.c credentials/keys/public_key.h \
|
credentials/keys/public_key.c credentials/keys/public_key.h \
|
||||||
credentials/keys/shared_key.c credentials/keys/shared_key.h \
|
credentials/keys/shared_key.c credentials/keys/shared_key.h \
|
||||||
credentials/certificates/certificate.c credentials/certificates/certificate.h \
|
credentials/certificates/certificate.c credentials/certificates/certificate.h \
|
||||||
credentials/certificates/x509.h credentials/certificates/x509.c \
|
credentials/certificates/x509.h credentials/certificates/ac.h \
|
||||||
credentials/certificates/ac.h \
|
|
||||||
credentials/certificates/crl.h credentials/certificates/crl.c \
|
credentials/certificates/crl.h credentials/certificates/crl.c \
|
||||||
credentials/certificates/pkcs10.h \
|
credentials/certificates/pkcs10.h \
|
||||||
credentials/certificates/ocsp_request.h \
|
credentials/certificates/ocsp_request.h \
|
||||||
|
|||||||
@@ -1,28 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright (C) 2008 Martin Willi
|
|
||||||
* Hochschule fuer Technik Rapperswil
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License as published by the
|
|
||||||
* Free Software Foundation; either version 2 of the License, or (at your
|
|
||||||
* option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful, but
|
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
||||||
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
||||||
* for more details.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "x509.h"
|
|
||||||
|
|
||||||
ENUM(x509_flag_names, X509_NONE, X509_IP_ADDR_BLOCKS,
|
|
||||||
"X509_NONE",
|
|
||||||
"X509_CA",
|
|
||||||
"X509_AA",
|
|
||||||
"X509_OCSP_SIGNER",
|
|
||||||
"X509_SERVER_AUTH",
|
|
||||||
"X509_CLIENT_AUTH",
|
|
||||||
"X509_SELF_SIGNED",
|
|
||||||
"X509_IP_ADDR_BLOCKS",
|
|
||||||
);
|
|
||||||
|
|
||||||
@@ -51,11 +51,6 @@ enum x509_flag_t {
|
|||||||
X509_IP_ADDR_BLOCKS = (1<<6),
|
X509_IP_ADDR_BLOCKS = (1<<6),
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
|
||||||
* enum names for x509 flags
|
|
||||||
*/
|
|
||||||
extern enum_name_t *x509_flag_names;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* X.509 certificate interface.
|
* X.509 certificate interface.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user