Commit daf5bc9
Reduce compiler ability to optimise to statisfy gcc 9.5 (aws#1442)
gcc 9.5 has a bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95189 that has not been backported. Essentially, the compiler will falsely reason that it's comparing a string and optimise out everything behind a null-character. Dropping static const removes optimisation options for the compiler. In my tests, gcc 9.5 now emits a direct memcmp instead of attempting any optimisations.
Add X509_STORE_get1_objects
This will be needed for python/cpython#114573.
Along the way, document the various functions that expose "query from
X509_STORE". Most of them unfortunately leak the weird caching thing
that hash_dir does, as well as OpenSSL's generally poor handling of
issuers with the same name and CRL lookup, but I don't think it's really
worth trying to unexport these APIs.
Change-Id: I18137bdc4cbaa4bd20ff55116a18f350df386e4a
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/65787
Auto-Submit: David Benjamin <davidben@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
Reviewed-by: Bob Beck <bbe@google.com>
Revert "Add X509_STORE_get1_objects"
This reverts commit cd5439a827a29320f7005786a26454904e4b12dc.1 parent 31cefe7 commit daf5bc9
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4475 | 4475 | | |
4476 | 4476 | | |
4477 | 4477 | | |
4478 | | - | |
| 4478 | + | |
| 4479 | + | |
| 4480 | + | |
| 4481 | + | |
4479 | 4482 | | |
4480 | 4483 | | |
4481 | 4484 | | |
| |||
0 commit comments