src: crypto_common edits
Extracted from the QUIC PR:
Commit 1: Updates UseSNIContext to use BaseObjectPtr Commit 2: Returns Undefined when validation err == 0. This is currently only used by the QUIC implementation but the change itself is not QUIC specific.
/cc @addaleax @sam-github
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines