Adds a test for CSRs generated using a pre-1.0.2 version of OpenSSL and a buggy client which will fail to parse with Golang 1.6+. This test checks the values of the bytes in the 8th and 9th offsets, which in a properly formatted CSR should be the version integer declaration bytes, and if the malformed values are present will return a error to the user informing them that they are using an old version of OpenSSL and/or a client which doesn't explicitly set the CSR version. Fixes #1902. |
||
---|---|---|
.. | ||
test | ||
context.go | ||
jose.go | ||
jose_test.go | ||
wfe.go | ||
wfe_test.go |