Skip to content

Commit

Permalink
Stop generating X509 certificates with old report OID
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Hsu <[email protected]>
  • Loading branch information
ryanhsu19 committed Nov 4, 2020
1 parent 674b9c1 commit 37a8508
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions enclave/tls_cert.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 37a8508

Please sign in to comment.