Skip to content

Fix bugs so we can roundtrip certificates#6151

Merged
yschimke merged 1 commit intomasterfrom
jwilson.0627.roundtrip_
Jun 28, 2020
Merged

Fix bugs so we can roundtrip certificates#6151
yschimke merged 1 commit intomasterfrom
jwilson.0627.roundtrip_

Conversation

@swankjesse
Copy link
Copy Markdown
Collaborator

This gets us to the point where the byte-for-byte encoding is equiavalent
to what bouncycastle was producing.

This shook out some bugs:

  • We weren't boxing the version
  • We weren't clearing the constructed bit on boxed extensions
  • We weren't encoding null when we needed to be

This gets us to the point where the byte-for-byte encoding is equiavalent
to what bouncycastle was producing.

This shook out some bugs:
 - We weren't boxing the version
 - We weren't clearing the constructed bit on boxed extensions
 - We weren't encoding null when we needed to be
@swankjesse swankjesse force-pushed the jwilson.0627.roundtrip_ branch from 2cc73d1 to 265a40a Compare June 27, 2020 20:36
@yschimke
Copy link
Copy Markdown
Collaborator

LGTM

@yschimke yschimke merged commit c3d453c into master Jun 28, 2020
@oldergod oldergod deleted the jwilson.0627.roundtrip_ branch June 29, 2020 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants