-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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.2m
This replaces all sources of openssl-1.0.2m.tar.gz into deps/openssl/openssl PR-URL: #16691 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Rod Vagg <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: James M Snell <[email protected]>
- Loading branch information
1 parent
b0fadbe
commit 8386ce7
Showing
218 changed files
with
1,846 additions
and
38,827 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 |
---|---|---|
|
@@ -190,10 +190,8 @@ | |
the failure that isn't a problem in OpenSSL itself (like a missing | ||
or malfunctioning bc). If it is a problem with OpenSSL itself, | ||
try removing any compiler optimization flags from the CFLAG line | ||
in Makefile.ssl and run "make clean; make". Please send a bug | ||
report to <[email protected]>, including the output of | ||
"make report" in order to be added to the request tracker at | ||
http://www.openssl.org/support/rt.html. | ||
in Makefile.ssl and run "make clean; make". To report a bug please open an | ||
issue on GitHub, at https://github.com/openssl/openssl/issues. | ||
|
||
4. If everything tests ok, install OpenSSL with | ||
|
||
|
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
## Makefile for OpenSSL | ||
## | ||
|
||
VERSION=1.0.2l | ||
VERSION=1.0.2m | ||
MAJOR=1 | ||
MINOR=0.2 | ||
SHLIB_VERSION_NUMBER=1.0.0 | ||
|
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
## Makefile for OpenSSL | ||
## | ||
|
||
VERSION=1.0.2l | ||
VERSION=1.0.2m | ||
MAJOR=1 | ||
MINOR=0.2 | ||
SHLIB_VERSION_NUMBER=1.0.0 | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
* 1999. Based on an original idea by Massimiliano Pala ([email protected]). | ||
*/ | ||
/* ==================================================================== | ||
* Copyright (c) 1999 The OpenSSL Project. All rights reserved. | ||
* Copyright (c) 1999-2017 The OpenSSL Project. All rights reserved. | ||
* | ||
* Redistribution and use in source and binary forms, with or without | ||
* modification, are permitted provided that the following conditions | ||
|
@@ -185,20 +185,23 @@ int MAIN(int argc, char **argv) | |
} | ||
e = setup_engine(bio_err, engine, 0); | ||
|
||
if (keyfile) { | ||
if (keyfile != NULL) { | ||
pkey = load_key(bio_err, | ||
strcmp(keyfile, "-") ? keyfile : NULL, | ||
FORMAT_PEM, 1, passin, e, "private key"); | ||
if (!pkey) { | ||
if (pkey == NULL) | ||
goto end; | ||
} | ||
spki = NETSCAPE_SPKI_new(); | ||
if (challenge) | ||
if (spki == NULL) | ||
goto end; | ||
if (challenge != NULL) | ||
ASN1_STRING_set(spki->spkac->challenge, | ||
challenge, (int)strlen(challenge)); | ||
NETSCAPE_SPKI_set_pubkey(spki, pkey); | ||
NETSCAPE_SPKI_sign(spki, pkey, EVP_md5()); | ||
spkstr = NETSCAPE_SPKI_b64_encode(spki); | ||
if (spkstr == NULL) | ||
goto end; | ||
|
||
if (outfile) | ||
out = BIO_new_file(outfile, "w"); | ||
|
@@ -253,7 +256,7 @@ int MAIN(int argc, char **argv) | |
|
||
spki = NETSCAPE_SPKI_b64_decode(spkstr, -1); | ||
|
||
if (!spki) { | ||
if (spki == NULL) { | ||
BIO_printf(bio_err, "Error loading SPKAC\n"); | ||
ERR_print_errors(bio_err); | ||
goto end; | ||
|
@@ -282,9 +285,9 @@ int MAIN(int argc, char **argv) | |
pkey = NETSCAPE_SPKI_get_pubkey(spki); | ||
if (verify) { | ||
i = NETSCAPE_SPKI_verify(spki, pkey); | ||
if (i > 0) | ||
if (i > 0) { | ||
BIO_printf(bio_err, "Signature OK\n"); | ||
else { | ||
} else { | ||
BIO_printf(bio_err, "Signature Failure\n"); | ||
ERR_print_errors(bio_err); | ||
goto end; | ||
|
Oops, something went wrong.