-
-
Notifications
You must be signed in to change notification settings - Fork 11k
improved and standardised spelling #12320
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
Conversation
CLA: trivial
CLA: trivial
mspncp
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! Just some little corrections.
Personally, I would prefer if you wouldn't change aka to a.k.a. (see inline comment below), but if the others are o.k. with this change, I won't be dogmatic about it.
doc/man1/openssl-pkcs8.pod.in
Outdated
| pkcs-tng mailing list using triple DES, DES and RC2 with high iteration | ||
| counts, several people confirmed that they could decrypt the private | ||
| keys produced and Therefore it can be assumed that the PKCS#5 v2.0 | ||
| keys produced and Therefore, it can be assumed that the PKCS#5 v2.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Therefore -> therefore
doc/man1/openssl-s_server.pod.in
Outdated
| =item B<-status> | ||
|
|
||
| Enables certificate status request support (aka OCSP stapling). | ||
| Enables certificate status request support (a.k.a. OCSP stapling). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a.k.a. used to be a normal abbreviation with three dots. However, it seems that since then it has become such a famous abbreviation that the undotted version aka is more famous and modern. Since even Merriam-Webster prefer's the latter, and since it looks less awkward, I would prefer to keep the aka.
| for an IA5String the data will be ASCII, for a BMPString two bytes per | ||
| character in big endian format, and for an UTF8String it will be in UTF8 format. | ||
| character in big endian format, and for a UTF8String it will be in UTF8 format. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch: it's an IA5String, but a UTF8String, because it depends on how it is pronounced (yu̇-ˈnī-təd), not how it is spelled. :-)
doc/man3/DSA_generate_parameters.pod
Outdated
| While a candidate for q is tested by Miller-Rabin primality tests, | ||
| B<BN_GENCB_call(cb, 1, i)> is called in the outer loop | ||
| (once for each witness that confirms that the candidate may be prime); | ||
| (once for each withess that confirms that the candidate may be prime); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a mistake and needs to be reverted.
doc/man3/DSA_generate_parameters.pod
Outdated
| While it is tested by the Miller-Rabin primality test, | ||
| B<BN_GENCB_call(cb, 1, i)> is called in the outer loop | ||
| (once for each witness that confirms that the candidate may be prime). | ||
| (once for each withess that confirms that the candidate may be prime). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here.
doc/man3/SSL_set_bio.pod
Outdated
| If the B<rbio> and B<wbio> parameters are different and the B<wbio> is the | ||
| same as the previously set value and the old B<rbio> and B<wbio> values | ||
| were the same as each other then one reference is consumed for the B<rbio> | ||
| same as the previously set value, and the old B<rbio> and B<wbio> values | ||
| were the same as each other, then one reference is consumed for the B<rbio> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure whether inserting a comma before the and is correct: why did you insert a comma at ...value, and... but not at ...different and...?
If ... are different and the wbio ... set value, and the old ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The commas were added to improve separation of clauses.... but you are right, given the construction of the other clauses (https://www.openssl.org/docs/manmaster/man3/SSL_set_bio.html), all or none of these should be adjusted. Adjusting would require to check the sources in detail since we do not want to clarify in the wrong direction. Since the function should be avoided, it is probably the best not to touch it at all.
Many thanks for the constructive feedback, will update soon (this night or tomorrow).
| If the B<rbio> and B<wbio> parameters are different and the B<wbio> | ||
| is the same as the | ||
| previously set value and the old B<rbio> and B<wbio> values were different | ||
| to each | ||
| other then one reference is consumed for the B<rbio> and one reference | ||
| is consumed | ||
| for the B<wbio>. | ||
| to each other, then one reference is consumed for the B<rbio> and one | ||
| reference is consumed for the B<wbio>. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This sentence here is similar, but here you didn't insert any commas before and.
|
In case you are wondering why the cla-check is still failing: You placed the but the CLA bot expects it to be in the body of the commit message, which needs to be separated from the title by an empty line, like this: But don't worry, I can fix that when the commits get merged. For the records: I agree that it's a (legally) trivial change. |
|
@mspncp could you also backport the relevant ones to Assuming your feedback is addressed, my approval would stand for both |
|
Thanks @gustafn for this contribution, it's always nice to have documentation improvements! |
CLA: trivial
|
All changes are addressed. Should I make a separate pull request for branch "OpenSSL_1_1_1-stable"? There are many similar spelling inconsistencies in the source code. Is there some interest to reduce these as well, or is the overall opinion that this makes tracking of substantial changes more complex? |
Thanks for the offer. I would suggest that you wait a little bit until this pull request has the required two approvals. After that, I would attempt a simple cherry-pick and if that succeeds without conflicts, no separate pull requests would be necessary. If not, I would ping you and kindly ask you for the separate pull request.
Since your changes affect mostly the documentation and not the source code, and since 1.1.1 is an LTS version, I think it's worth doing it. |
mspncp
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. If you don't mind i would like to squash the three commits, using your initial commit message (in present tense and with a capital letter at the beginning). Is that ok for you?
Fix typos and repeated words
CLA: trivial
If not, feel free to propose your preferred wording. P.S: I attempted a cherry-pick to OpenSSL_1_1_1-stable, it failed miserably (47 conflicting files). |
slontis
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
When it touches more than 100 files do you still consider this to be trivial? |
|
Not trivial to do (if you script it), but trivial in a legal sense, because correcting spell errors does not add any copyrightable value IMO. But of course, IANAL. |
|
From my point of view, squashing theses commits is the right thing. I see that present tense is the usual convention in OpenSSL, so please go ahead with this. Cherry picking a high number of changes can be a pain, several things have changed, so let me know, whether you prefer a separate pull requests for OpenSSL_1_1_1-stable. Would you prefer spelling changes on source on the master branch or on 1.1.1? Working though the source code files is a larger project, this will take some time. |
Ok, I'll do that. Your pull request has the necessary number of approvals, but the 24h grace period has not expired yet. So I'll squash and merge it tomorrow.
Yes please, go ahead and raise a separate pull request against OpenSSL_1_1_1-stable. When you are ready, just post it's number here in this thread (e.g.,
We also appreciate spelling corrections in the source code. Corrections in comments are no problem at all, and the same holds for corrections of internal function or variable names in most cases. But of course, misspellings in the public API require special treatment (like deprecation of the old name) for compatibility reasons. |
|
24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set. Please review the updates and set the label manually. |
|
The backport of this pull request for OpenSSL_1_1_1-stable is now on Github: |
CLA: trivial Reviewed-by: Shane Lontis <shane.lontis@oracle.com> Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> (Merged from #12320)
This is a revised version of the pull requests #12299 where US/UK discrepancies are left out. The changes affect only documentation files (.pod, .pod.in, .md)
CLA: trivial
Checklist