opkg

statically linked package installer
git clone anongit@rnpnr.xyz:opkg.git
Log | Files | Refs | Feed | Submodules | README | LICENSE

0001-Add-missing-return-in-client-single-EC-choose-functi.patch (726B)


      1 From a5c3ea02385205858128e414873a0150cd8bceda Mon Sep 17 00:00:00 2001
      2 From: Michael Forney <mforney@mforney.org>
      3 Date: Fri, 31 Jan 2020 15:11:32 -0800
      4 Subject: [PATCH] Add missing return in client single EC choose function
      5 
      6 Otherwise, static ECDH is never selected.
      7 ---
      8  src/ssl/ssl_ccert_single_ec.c | 1 +
      9  1 file changed, 1 insertion(+)
     10 
     11 diff --git a/src/ssl/ssl_ccert_single_ec.c b/src/ssl/ssl_ccert_single_ec.c
     12 index 93ebcde..2e1e54f 100644
     13 --- a/src/ssl/ssl_ccert_single_ec.c
     14 +++ b/src/ssl/ssl_ccert_single_ec.c
     15 @@ -69,6 +69,7 @@ cc_choose(const br_ssl_client_certificate_class **pctx,
     16  			choices->hash_id = -1;
     17  			choices->chain = zc->chain;
     18  			choices->chain_len = zc->chain_len;
     19 +			return;
     20  		}
     21  	}
     22  
     23 -- 
     24 2.25.0
     25