| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent cede1f2 commit 59da7c1
95 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -7,6 +7,26 @@ | |||
| 7 | 7 | https://github.com/openssl/openssl/commits/ and pick the appropriate | |
| 8 | 8 | release branch. | |
| 9 | 9 | ||
| 10 | + Changes between 1.1.1l and 1.1.1m [14 Dec 2021] | ||
| 11 | + | ||
| 12 | + *) Avoid loading of a dynamic engine twice. | ||
| 13 | + | ||
| 14 | + [Bernd Edlinger] | ||
| 15 | + | ||
| 16 | + *) Fixed building on Debian with kfreebsd kernels | ||
| 17 | + | ||
| 18 | + [Mattias Ellert] | ||
| 19 | + | ||
| 20 | + *) Prioritise DANE TLSA issuer certs over peer certs | ||
| 21 | + | ||
| 22 | + [Viktor Dukhovni] | ||
| 23 | + | ||
| 24 | + *) Fixed random API for MacOS prior to 10.12 | ||
| 25 | + | ||
| 26 | + These MacOS versions don't support the CommonCrypto APIs | ||
| 27 | + | ||
| 28 | + [Lenny Primak] | ||
| 29 | + | ||
| 10 | 30 | Changes between 1.1.1k and 1.1.1l [24 Aug 2021] | |
| 11 | 31 | ||
| 12 | 32 | *) Fixed an SM2 Decryption Buffer Overflow. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1304,16 +1304,19 @@ if ($disabled{"dynamic-engine"}) { | |||
| 1304 | 1304 | ||
| 1305 | 1305 | unless ($disabled{asan}) { | |
| 1306 | 1306 | push @{$config{cflags}}, "-fsanitize=address"; | |
| 1307 | + push @{$config{cxxflags}}, "-fsanitize=address" if $config{CXX}; | ||
| 1307 | 1308 | } | |
| 1308 | 1309 | ||
| 1309 | 1310 | unless ($disabled{ubsan}) { | |
| 1310 | 1311 | # -DPEDANTIC or -fnosanitize=alignment may also be required on some | |
| 1311 | 1312 | # platforms. | |
| 1312 | 1313 | push @{$config{cflags}}, "-fsanitize=undefined", "-fno-sanitize-recover=all"; | |
| 1314 | + push @{$config{cxxflags}}, "-fsanitize=undefined", "-fno-sanitize-recover=all" if $config{CXX}; | ||
| 1313 | 1315 | } | |
| 1314 | 1316 | ||
| 1315 | 1317 | unless ($disabled{msan}) { | |
| 1316 | 1318 | push @{$config{cflags}}, "-fsanitize=memory"; | |
| 1319 | + push @{$config{cxxflags}}, "-fsanitize=memory" if $config{CXX}; | ||
| 1317 | 1320 | } | |
| 1318 | 1321 | ||
| 1319 | 1322 | unless ($disabled{"fuzz-libfuzzer"} && $disabled{"fuzz-afl"} | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,6 +5,10 @@ | |||
| 5 | 5 | This file gives a brief overview of the major changes between each OpenSSL | |
| 6 | 6 | release. For more details please read the CHANGES file. | |
| 7 | 7 | ||
| 8 | + Major changes between OpenSSL 1.1.1l and OpenSSL 1.1.1m [14 Dec 2021] | ||
| 9 | + | ||
| 10 | + o None | ||
| 11 | + | ||
| 8 | 12 | Major changes between OpenSSL 1.1.1k and OpenSSL 1.1.1l [24 Aug 2021] | |
| 9 | 13 | ||
| 10 | 14 | o Fixed an SM2 Decryption Buffer Overflow (CVE-2021-3711) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,5 +1,5 @@ | |||
| 1 | 1 | ||
| 2 | - OpenSSL 1.1.1l 24 Aug 2021 | ||
| 2 | + OpenSSL 1.1.1m 14 Dec 2021 | ||
| 3 | 3 | ||
| 4 | 4 | Copyright (c) 1998-2021 The OpenSSL Project | |
| 5 | 5 | Copyright (c) 1995-1998 Eric A. Young, Tim J. Hudson | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,5 +1,5 @@ | |||
| 1 | 1 | /* | |
| 2 | - * Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved. | ||
| 2 | + * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. | ||
| 3 | 3 | * | |
| 4 | 4 | * Licensed under the OpenSSL license (the "License"). You may not use | |
| 5 | 5 | * this file except in compliance with the License. You can obtain a copy | |
@@ -172,6 +172,7 @@ int ciphers_main(int argc, char **argv) | |||
| 172 | 172 | if (convert != NULL) { | |
| 173 | 173 | BIO_printf(bio_out, "OpenSSL cipher name: %s\n", | |
| 174 | 174 | OPENSSL_cipher_name(convert)); | |
| 175 | + ret = 0; | ||
| 175 | 176 | goto end; | |
| 176 | 177 | } | |
| 177 | 178 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,5 +1,5 @@ | |||
| 1 | 1 | /* | |
| 2 | - * Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved. | ||
| 2 | + * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. | ||
| 3 | 3 | * | |
| 4 | 4 | * Licensed under the OpenSSL license (the "License"). You may not use | |
| 5 | 5 | * this file except in compliance with the License. You can obtain a copy | |
@@ -316,7 +316,7 @@ int dgst_main(int argc, char **argv) | |||
| 316 | 316 | EVP_MD_CTX *mctx = NULL; | |
| 317 | 317 | EVP_PKEY_CTX *pctx = NULL; | |
| 318 | 318 | int r; | |
| 319 | - if (!BIO_get_md_ctx(bmd, &mctx)) { | ||
| 319 | + if (BIO_get_md_ctx(bmd, &mctx) <= 0) { | ||
| 320 | 320 | BIO_printf(bio_err, "Error getting context\n"); | |
| 321 | 321 | ERR_print_errors(bio_err); | |
| 322 | 322 | goto end; | |
@@ -345,7 +345,7 @@ int dgst_main(int argc, char **argv) | |||
| 345 | 345 | /* we use md as a filter, reading from 'in' */ | |
| 346 | 346 | else { | |
| 347 | 347 | EVP_MD_CTX *mctx = NULL; | |
| 348 | - if (!BIO_get_md_ctx(bmd, &mctx)) { | ||
| 348 | + if (BIO_get_md_ctx(bmd, &mctx) <= 0) { | ||
| 349 | 349 | BIO_printf(bio_err, "Error getting context\n"); | |
| 350 | 350 | ERR_print_errors(bio_err); | |
| 351 | 351 | goto end; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -819,7 +819,9 @@ int generate_stateless_cookie_callback(SSL *ssl, unsigned char *cookie, | |||
| 819 | 819 | { | |
| 820 | 820 | unsigned int temp; | |
| 821 | 821 | int res = generate_cookie_callback(ssl, cookie, &temp); | |
| 822 | - *cookie_len = temp; | ||
| 822 | + | ||
| 823 | + if (res != 0) | ||
| 824 | + *cookie_len = temp; | ||
| 823 | 825 | return res; | |
| 824 | 826 | } | |
| 825 | 827 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,5 +1,5 @@ | |||
| 1 | 1 | /* | |
| 2 | - * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved. | ||
| 2 | + * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. | ||
| 3 | 3 | * Copyright 2005 Nokia. All rights reserved. | |
| 4 | 4 | * | |
| 5 | 5 | * Licensed under the OpenSSL license (the "License"). You may not use | |
@@ -3151,6 +3151,8 @@ int s_client_main(int argc, char **argv) | |||
| 3151 | 3151 | #endif | |
| 3152 | 3152 | OPENSSL_free(connectstr); | |
| 3153 | 3153 | OPENSSL_free(bindstr); | |
| 3154 | + OPENSSL_free(bindhost); | ||
| 3155 | + OPENSSL_free(bindport); | ||
| 3154 | 3156 | OPENSSL_free(host); | |
| 3155 | 3157 | OPENSSL_free(port); | |
| 3156 | 3158 | X509_VERIFY_PARAM_free(vpm); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -134,12 +134,12 @@ static unsigned int psk_server_cb(SSL *ssl, const char *identity, | |||
| 134 | 134 | if (s_debug) | |
| 135 | 135 | BIO_printf(bio_s_out, "psk_server_cb\n"); | |
| 136 | 136 | ||
| 137 | - if (SSL_version(ssl) >= TLS1_3_VERSION) { | ||
| 137 | + if (!SSL_is_dtls(ssl) && SSL_version(ssl) >= TLS1_3_VERSION) { | ||
| 138 | 138 | /* | |
| 139 | - * This callback is designed for use in TLSv1.2. It is possible to use | ||
| 140 | - * a single callback for all protocol versions - but it is preferred to | ||
| 141 | - * use a dedicated callback for TLSv1.3. For TLSv1.3 we have | ||
| 142 | - * psk_find_session_cb. | ||
| 139 | + * This callback is designed for use in (D)TLSv1.2 (or below). It is | ||
| 140 | + * possible to use a single callback for all protocol versions - but it | ||
| 141 | + * is preferred to use a dedicated callback for TLSv1.3. For TLSv1.3 we | ||
| 142 | + * have psk_find_session_cb. | ||
| 143 | 143 | */ | |
| 144 | 144 | return 0; | |
| 145 | 145 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,5 +1,5 @@ | |||
| 1 | 1 | /* | |
| 2 | - * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved. | ||
| 2 | + * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. | ||
| 3 | 3 | * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved | |
| 4 | 4 | * | |
| 5 | 5 | * Licensed under the OpenSSL license (the "License"). You may not use | |
@@ -1590,6 +1590,10 @@ int speed_main(int argc, char **argv) | |||
| 1590 | 1590 | case OPT_MULTI: | |
| 1591 | 1591 | #ifndef NO_FORK | |
| 1592 | 1592 | multi = atoi(opt_arg()); | |
| 1593 | + if (multi >= INT_MAX / (int)sizeof(int)) { | ||
| 1594 | + BIO_printf(bio_err, "%s: multi argument too large\n", prog); | ||
| 1595 | + return 0; | ||
| 1596 | + } | ||
| 1593 | 1597 | #endif | |
| 1594 | 1598 | break; | |
| 1595 | 1599 | case OPT_ASYNCJOBS: | |
@@ -3490,7 +3494,7 @@ static int do_multi(int multi, int size_num) | |||
| 3490 | 3494 | close(fd[1]); | |
| 3491 | 3495 | mr = 1; | |
| 3492 | 3496 | usertime = 0; | |
| 3493 | - free(fds); | ||
| 3497 | + OPENSSL_free(fds); | ||
| 3494 | 3498 | return 0; | |
| 3495 | 3499 | } | |
| 3496 | 3500 | printf("Forked child %d\n", n); | |
@@ -3603,7 +3607,7 @@ static int do_multi(int multi, int size_num) | |||
| 3603 | 3607 | ||
| 3604 | 3608 | fclose(f); | |
| 3605 | 3609 | } | |
| 3606 | - free(fds); | ||
| 3610 | + OPENSSL_free(fds); | ||
| 3607 | 3611 | return 1; | |
| 3608 | 3612 | } | |
| 3609 | 3613 | #endif | |
| Back | FazBrowse Home | New Git URL |
0 commit comments