Fix: make static ECDH selectable with the br_ssl_client_set_single_ec() helper function. master
authorThomas Pornin <thomas.pornin@nccgroup.com>
Wed, 12 Jun 2024 14:56:12 +0000 (10:56 -0400)
committerThomas Pornin <thomas.pornin@nccgroup.com>
Wed, 12 Jun 2024 14:56:12 +0000 (10:56 -0400)
src/ssl/ssl_ccert_single_ec.c

index 93ebcde..2e1e54f 100644 (file)
@@ -69,6 +69,7 @@ cc_choose(const br_ssl_client_certificate_class **pctx,
                        choices->hash_id = -1;
                        choices->chain = zc->chain;
                        choices->chain_len = zc->chain_len;
+                       return;
                }
        }