added x509_ prefix to imported parse functions
This commit is contained in:
@@ -19,6 +19,8 @@
|
|||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||||
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
* for more details.
|
* for more details.
|
||||||
|
*
|
||||||
|
* RCSID $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
@@ -304,7 +306,7 @@ static bool parse_directoryName(chunk_t blob, int level, bool implicit, identifi
|
|||||||
bool has_directoryName;
|
bool has_directoryName;
|
||||||
linked_list_t *list = linked_list_create();
|
linked_list_t *list = linked_list_create();
|
||||||
|
|
||||||
parse_generalNames(blob, level, implicit, list);
|
x509_parse_generalNames(blob, level, implicit, list);
|
||||||
has_directoryName = list->get_count(list) > 0;
|
has_directoryName = list->get_count(list) > 0;
|
||||||
|
|
||||||
if (has_directoryName)
|
if (has_directoryName)
|
||||||
@@ -480,7 +482,7 @@ static bool parse_certificate(chunk_t blob, private_x509ac_t *this)
|
|||||||
DBG2(" need to parse crlDistributionPoints");
|
DBG2(" need to parse crlDistributionPoints");
|
||||||
break;
|
break;
|
||||||
case OID_AUTHORITY_KEY_ID:
|
case OID_AUTHORITY_KEY_ID:
|
||||||
parse_authorityKeyIdentifier(object, level,
|
x509_parse_authorityKeyIdentifier(object, level,
|
||||||
&this->authKeyID, &this->authKeySerialNumber);
|
&this->authKeyID, &this->authKeySerialNumber);
|
||||||
break;
|
break;
|
||||||
case OID_TARGET_INFORMATION:
|
case OID_TARGET_INFORMATION:
|
||||||
|
|||||||
@@ -21,6 +21,8 @@
|
|||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||||
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
* for more details.
|
* for more details.
|
||||||
|
*
|
||||||
|
* RCSID $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef AC_H_
|
#ifndef AC_H_
|
||||||
|
|||||||
@@ -18,6 +18,8 @@
|
|||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||||
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
* for more details.
|
* for more details.
|
||||||
|
*
|
||||||
|
* RCSID $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
@@ -290,7 +292,8 @@ bool parse_x509crl(chunk_t blob, u_int level0, private_crl_t *crl)
|
|||||||
}
|
}
|
||||||
else if (extn_oid == OID_AUTHORITY_KEY_ID)
|
else if (extn_oid == OID_AUTHORITY_KEY_ID)
|
||||||
{
|
{
|
||||||
parse_authorityKeyIdentifier(object, level, &crl->authKeyID, &crl->authKeySerialNumber);
|
x509_parse_authorityKeyIdentifier(object, level,
|
||||||
|
&crl->authKeyID, &crl->authKeySerialNumber);
|
||||||
}
|
}
|
||||||
else if (extn_oid == OID_CRL_NUMBER)
|
else if (extn_oid == OID_CRL_NUMBER)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -18,6 +18,8 @@
|
|||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||||
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
* for more details.
|
* for more details.
|
||||||
|
*
|
||||||
|
* RCSID $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef CRL_H_
|
#ifndef CRL_H_
|
||||||
|
|||||||
Reference in New Issue
Block a user