Commit 2ee1cb1
committed
crypto: strip unwanted space from openssl version
Remove trailing " \n" from `process.versions.openssl`.
d3d6cd3 was incorrectly printing this trailer, but because the
target buffer size was claimed to be the length of the version string,
the trailer was truncated off.
9ed4646 corrected the target buffer size, but then the trailer
started to appear in process.versions.
Added a test to check for regressions.1 parent 90cd3dd commit 2ee1cb1
2 files changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5715 | 5715 | | |
5716 | 5716 | | |
5717 | 5717 | | |
5718 | | - | |
| 5718 | + | |
5719 | 5719 | | |
5720 | | - | |
| 5720 | + | |
5721 | 5721 | | |
5722 | 5722 | | |
5723 | 5723 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
36 | 40 | | |
37 | 41 | | |
38 | 42 | | |
| |||
0 commit comments