Move OID string definitions back to mbedtls/oid.h
Some code that parses or writes X.509 needs to know OID values. We provide a
convenient list. Don't remove this list from the public interface of the
library.
For user convenience, expose these values in the same header as before and
with the same name as before: `MBEDTLS_OID_xxx` in `<mbedtls/oid.h>`.
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
diff --git a/library/x509_crt.c b/library/x509_crt.c
index 0b0e8d1..0a43d87 100644
--- a/library/x509_crt.c
+++ b/library/x509_crt.c
@@ -23,6 +23,7 @@
#include "mbedtls/x509_crt.h"
#include "mbedtls/error.h"
+#include "mbedtls/oid.h"
#include "x509_oid.h"
#include "mbedtls/platform_util.h"