-
Notifications
You must be signed in to change notification settings - Fork 30k
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.1.1f
This updates all sources in deps/openssl/openssl by: $ cd deps/openssl/ $ rm -rf openssl $ tar zxf ~/tmp/openssl-1.1.1f.tar.gz $ mv openssl-1.1.0h openssl $ git add --all openssl $ git commit openssl Backport-PR-URL: #32982 PR-URL: #32583 Reviewed-By: Sam Roberts <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
- Loading branch information
1 parent
aaf2f82
commit ef9413b
Showing
30 changed files
with
367 additions
and
345 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
200 changes: 100 additions & 100 deletions
200
deps/openssl/openssl/Configurations/unix-Makefile.tmpl
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Copyright 2015-2019 The OpenSSL Project Authors. All Rights Reserved. | ||
* Copyright 2015-2020 The OpenSSL Project Authors. All Rights Reserved. | ||
* Copyright (c) 2013-2014 Timo Teräs <[email protected]> | ||
* | ||
* Licensed under the OpenSSL license (the "License"). You may not use | ||
|
@@ -274,11 +274,19 @@ static int do_file(const char *filename, const char *fullpath, enum Hash h) | |
if (x->x509 != NULL) { | ||
type = TYPE_CERT; | ||
name = X509_get_subject_name(x->x509); | ||
X509_digest(x->x509, evpmd, digest, NULL); | ||
if (!X509_digest(x->x509, evpmd, digest, NULL)) { | ||
BIO_printf(bio_err, "out of memory\n"); | ||
++errs; | ||
goto end; | ||
} | ||
} else if (x->crl != NULL) { | ||
type = TYPE_CRL; | ||
name = X509_CRL_get_issuer(x->crl); | ||
X509_CRL_digest(x->crl, evpmd, digest, NULL); | ||
if (!X509_CRL_digest(x->crl, evpmd, digest, NULL)) { | ||
BIO_printf(bio_err, "out of memory\n"); | ||
++errs; | ||
goto end; | ||
} | ||
} else { | ||
++errs; | ||
goto end; | ||
|
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.