Fix: make static ECDH selectable with the br_ssl_client_set_single_ec() helper function.
[BearSSL] / 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;
                }
        }