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_csr.c b/library/x509_csr.c
index 0a77bef..32a3bb2 100644
--- a/library/x509_csr.c
+++ b/library/x509_csr.c
@@ -21,6 +21,7 @@
#include "mbedtls/x509_csr.h"
#include "mbedtls/error.h"
+#include "mbedtls/oid.h"
#include "x509_oid.h"
#include "mbedtls/platform_util.h"