Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix implicit certificate version. #86

Merged
merged 1 commit into from
Jul 31, 2017

Conversation

vdukhovni
Copy link

X.509 certificates without an explicit version are v1 certificates,
but v1 is actually stored as 0 (just as v3 is 2). The Data.X509 API
report the raw stored certificate versions, not the marketing name.
Therefore, the implicit version is 0, not 1.

X.509 certificates without an explicit version are v1 certificates,
but v1 is actually stored as 0 (just as v3 is 2).  The Data.X509 API
report the raw stored certificate versions, not the marketing name.
Therefore, the implicit version is 0, not 1.
@vincenthz vincenthz merged commit 12672db into haskell-tls:master Jul 31, 2017
@vincenthz
Copy link
Collaborator

thanks @vdukhovni

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.

3 participants