Closed samuel40791765 closed 3 weeks ago
Attention: Patch coverage is 91.66667%
with 3 lines
in your changes missing coverage. Please review.
Project coverage is 78.16%. Comparing base (
37ba0e2
) to head (d3bcc10
).
Files | Patch % | Lines |
---|---|---|
crypto/x509/x509spki.c | 89.65% | 3 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
can we get away with just defining no-op'ing this?
We could consider it, but it did seem harmless to incorporate given that we have support for all the surrounding functions within the module: https://github.com/ruby/ruby/blob/ruby_2_7/ext/openssl/ossl_ns_spki.c#L378-L405
Great question on potential impact, I did some more digging. The only concern would be us failing this Ruby test which asserts that the inputted BIO has at least some contents, but we can pass a short string into BIO to prevent that from happening.
My preference would be supporting the entire module with no caveats, but I'm open to any other concerns with us supporting this.
Issues:
Resolves
CryptoAlg-1717
Description of changes:
Ruby consumes NETSCAPE_SPKI_print for debugging purposes. This adds support for the symbol for easier integration.
Call-outs:
N/A
Testing:
Expected output test
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.