From 37a85084afb2e3d9529d6f583ba12b0cb2dbe0cd Mon Sep 17 00:00:00 2001 From: Ryan Hsu Date: Wed, 4 Nov 2020 21:59:52 +0000 Subject: [PATCH] Stop generating X509 certificates with old report OID Signed-off-by: Ryan Hsu --- enclave/tls_cert.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/enclave/tls_cert.c b/enclave/tls_cert.c index fd480a4431..ab60f1229a 100644 --- a/enclave/tls_cert.c +++ b/enclave/tls_cert.c @@ -25,8 +25,8 @@ #define DATE_NOT_VALID_BEFORE "20190501000000" #define DATE_NOT_VALID_AFTER "20501231235959" -static const unsigned char oid_oe_report[] = X509_OID_FOR_QUOTE_EXT; -static const unsigned char oid_oe_evidence[] = X509_OID_FOR_OE_EVIDENCE_EXT; +static const unsigned char oid_oe_report[] = X509_OID_FOR_NEW_QUOTE_EXT; +static const unsigned char oid_oe_evidence[] = X509_OID_FOR_NEW_OE_EVIDENCE_EXT; // Input: an issuer and subject key pair // Output: a self-signed certificate embedded critical extension with quote