mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-28 07:51:36 -04:00
Remove MBEDTLS_OID_C guard from static functions
This commit removes the MBEDTLS_OID_C guard from the static functions in the library/x509_create.c as this function is no longer included in the oid.c file. Signed-off-by: Harry Ramsey <harry.ramsey@arm.com>
This commit is contained in:
parent
94c3065d7f
commit
3b71262750
@ -278,8 +278,6 @@ error:
|
|||||||
return MBEDTLS_ERR_X509_INVALID_NAME;
|
return MBEDTLS_ERR_X509_INVALID_NAME;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(MBEDTLS_OID_C)
|
|
||||||
|
|
||||||
static int oid_parse_number(unsigned int *num, const char **p, const char *bound)
|
static int oid_parse_number(unsigned int *num, const char **p, const char *bound)
|
||||||
{
|
{
|
||||||
int ret = MBEDTLS_ERR_ASN1_INVALID_DATA;
|
int ret = MBEDTLS_ERR_ASN1_INVALID_DATA;
|
||||||
@ -456,8 +454,6 @@ error:
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* MBEDTLS_OID_C */
|
|
||||||
|
|
||||||
int mbedtls_x509_string_to_names(mbedtls_asn1_named_data **head, const char *name)
|
int mbedtls_x509_string_to_names(mbedtls_asn1_named_data **head, const char *name)
|
||||||
{
|
{
|
||||||
int ret = MBEDTLS_ERR_X509_INVALID_NAME;
|
int ret = MBEDTLS_ERR_X509_INVALID_NAME;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user