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_create.c b/library/x509_create.c
index 7621698..e5ade5d 100644
--- a/library/x509_create.c
+++ b/library/x509_create.c
@@ -11,6 +11,7 @@
#include "mbedtls/asn1write.h"
#include "mbedtls/error.h"
+#include "mbedtls/oid.h"
#include "x509_oid.h"
#include <string.h>