-
Notifications
You must be signed in to change notification settings - Fork 30.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deps: upgrade openssl sources to 1.0.2k
This replaces all sources of openssl-1.0.2k.tar.gz into deps/openssl/openssl PR-URL: #11021 Reviewed-By: Ben Noordhuis <[email protected]>
- Loading branch information
1 parent
580a453
commit 6a0f1fa
Showing
181 changed files
with
1,122 additions
and
39,081 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
HOW TO CONTRIBUTE TO PATCHES OpenSSL | ||
HOW TO CONTRIBUTE PATCHES TO OpenSSL | ||
------------------------------------ | ||
|
||
(Please visit https://www.openssl.org/community/getting-started.html for | ||
|
@@ -11,34 +11,12 @@ OpenSSL community you might want to discuss it on the openssl-dev mailing | |
list first. Someone may be already working on the same thing or there | ||
may be a good reason as to why that feature isn't implemented. | ||
|
||
The best way to submit a patch is to make a pull request on GitHub. | ||
(It is not necessary to send mail to [email protected] to open a ticket!) | ||
If you think the patch could use feedback from the community, please | ||
start a thread on openssl-dev. | ||
To submit a patch, make a pull request on GitHub. If you think the patch | ||
could use feedback from the community, please start a thread on openssl-dev | ||
to discuss it. | ||
|
||
You can also submit patches by sending it as mail to [email protected]. | ||
Please include the word "PATCH" and an explanation of what the patch | ||
does in the subject line. If you do this, our preferred format is "git | ||
format-patch" output. For example to provide a patch file containing the | ||
last commit in your local git repository use the following command: | ||
|
||
% git format-patch --stdout HEAD^ >mydiffs.patch | ||
|
||
Another method of creating an acceptable patch file without using git is as | ||
follows: | ||
|
||
% cd openssl-work | ||
...make your changes... | ||
% ./Configure dist; make clean | ||
% cd .. | ||
% diff -ur openssl-orig openssl-work >mydiffs.patch | ||
|
||
Note that pull requests are generally easier for the team, and community, to | ||
work with. Pull requests benefit from all of the standard GitHub features, | ||
including code review tools, simpler integration, and CI build support. | ||
|
||
No matter how a patch is submitted, the following items will help make | ||
the acceptance and review process faster: | ||
Having addressed the following items before the PR will help make the | ||
acceptance and review process faster: | ||
|
||
1. Anything other than trivial contributions will require a contributor | ||
licensing agreement, giving us permission to use your code. See | ||
|
@@ -55,21 +33,22 @@ the acceptance and review process faster: | |
in the file LICENSE in the source distribution or at | ||
https://www.openssl.org/source/license.html | ||
|
||
3. Patches should be as current as possible. When using GitHub, please | ||
expect to have to rebase and update often. Note that we do not accept merge | ||
commits. You will be asked to remove them before a patch is considered | ||
acceptable. | ||
3. Patches should be as current as possible; expect to have to rebase | ||
often. We do not accept merge commits; You will be asked to remove | ||
them before a patch is considered acceptable. | ||
|
||
4. Patches should follow our coding style (see | ||
https://www.openssl.org/policies/codingstyle.html) and compile without | ||
warnings. Where gcc or clang is availble you should use the | ||
--strict-warnings Configure option. OpenSSL compiles on many varied | ||
platforms: try to ensure you only use portable features. | ||
Clean builds via Travis and AppVeyor are expected, and done whenever | ||
a PR is created or updated. | ||
|
||
5. When at all possible, patches should include tests. These can either be | ||
added to an existing test, or completely new. Please see test/README | ||
for information on the test framework. | ||
5. When at all possible, patches should include tests. These can | ||
either be added to an existing test, or completely new. Please see | ||
test/README for information on the test framework. | ||
|
||
6. New features or changed functionality must include documentation. Please | ||
look at the "pod" files in doc/apps, doc/crypto and doc/ssl for examples of | ||
our style. | ||
6. New features or changed functionality must include | ||
documentation. Please look at the "pod" files in doc/apps, doc/crypto | ||
and doc/ssl for examples of our style. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -74,24 +74,26 @@ | |
|
||
no-asm Do not use assembler code. | ||
|
||
386 Use the 80386 instruction set only (the default x86 code is | ||
more efficient, but requires at least a 486). Note: Use | ||
compiler flags for any other CPU specific configuration, | ||
e.g. "-m32" to build x86 code on an x64 system. | ||
|
||
no-sse2 Exclude SSE2 code pathes. Normally SSE2 extention is | ||
detected at run-time, but the decision whether or not the | ||
machine code will be executed is taken solely on CPU | ||
capability vector. This means that if you happen to run OS | ||
kernel which does not support SSE2 extension on Intel P4 | ||
processor, then your application might be exposed to | ||
"illegal instruction" exception. There might be a way | ||
to enable support in kernel, e.g. FreeBSD kernel can be | ||
compiled with CPU_ENABLE_SSE, and there is a way to | ||
disengage SSE2 code pathes upon application start-up, | ||
but if you aim for wider "audience" running such kernel, | ||
consider no-sse2. Both 386 and no-asm options above imply | ||
no-sse2. | ||
386 In 32-bit x86 builds, when generating assembly modules, | ||
use the 80386 instruction set only (the default x86 code | ||
is more efficient, but requires at least a 486). Note: | ||
This doesn't affect code generated by compiler, you're | ||
likely to complement configuration command line with | ||
suitable compiler-specific option. | ||
|
||
no-sse2 Exclude SSE2 code paths from 32-bit x86 assembly modules. | ||
Normally SSE2 extension is detected at run-time, but the | ||
decision whether or not the machine code will be executed | ||
is taken solely on CPU capability vector. This means that | ||
if you happen to run OS kernel which does not support SSE2 | ||
extension on Intel P4 processor, then your application | ||
might be exposed to "illegal instruction" exception. | ||
There might be a way to enable support in kernel, e.g. | ||
FreeBSD kernel can be compiled with CPU_ENABLE_SSE, and | ||
there is a way to disengage SSE2 code paths upon application | ||
start-up, but if you aim for wider "audience" running | ||
such kernel, consider no-sse2. Both the 386 and | ||
no-asm options imply no-sse2. | ||
|
||
no-<cipher> Build without the specified cipher (bf, cast, des, dh, dsa, | ||
hmac, md2, md5, mdc2, rc2, rc4, rc5, rsa, sha). | ||
|
@@ -101,7 +103,12 @@ | |
-Dxxx, -lxxx, -Lxxx, -fxxx, -mXXX, -Kxxx These system specific options will | ||
be passed through to the compiler to allow you to | ||
define preprocessor symbols, specify additional libraries, | ||
library directories or other compiler options. | ||
library directories or other compiler options. It might be | ||
worth noting that some compilers generate code specifically | ||
for processor the compiler currently executes on. This is | ||
not necessarily what you might have in mind, since it might | ||
be unsuitable for execution on other, typically older, | ||
processor. Consult your compiler documentation. | ||
|
||
-DHAVE_CRYPTODEV Enable the BSD cryptodev engine even if we are not using | ||
BSD. Useful if you are running ocf-linux or something | ||
|
@@ -159,18 +166,18 @@ | |
OpenSSL binary ("openssl"). The libraries will be built in the top-level | ||
directory, and the binary will be in the "apps" directory. | ||
|
||
If "make" fails, look at the output. There may be reasons for | ||
the failure that aren't problems in OpenSSL itself (like missing | ||
standard headers). If it is a problem with OpenSSL itself, please | ||
report the problem to <openssl-[email protected]> (note that your | ||
message will be recorded in the request tracker publicly readable | ||
at https://www.openssl.org/community/index.html#bugs and will be | ||
forwarded to a public mailing list). Include the output of "make | ||
report" in your message. Please check out the request tracker. Maybe | ||
the bug was already reported or has already been fixed. | ||
|
||
[If you encounter assembler error messages, try the "no-asm" | ||
configuration option as an immediate fix.] | ||
If the build fails, look at the output. There may be reasons | ||
for the failure that aren't problems in OpenSSL itself (like | ||
missing standard headers). If you are having problems you can | ||
get help by sending an email to the openssl-users email list (see | ||
https://www.openssl.org/community/mailinglists.html for details). If | ||
it is a bug with OpenSSL itself, please open an issue on GitHub, at | ||
https://github.com/openssl/openssl/issues. Please review the existing | ||
ones first; maybe the bug was already reported or has already been | ||
fixed. | ||
|
||
(If you encounter assembler error messages, try the "no-asm" | ||
configuration option as an immediate fix.) | ||
|
||
Compiling parts of OpenSSL with gcc and others with the system | ||
compiler will result in unresolved symbols on some systems. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.