mirror of
https://github.com/norandom/OpenUltraSAST.git
synced 2026-10-16 03:49:26 +00:00
Harvest 176 isolated vuln-vs-fix functions (109 CVEs, 352 training rows) into benchmarks/pairs/vfc with provenance and a JSONL training manifest. Score the slice as an honesty dashboard (ousast pairs --slice vfc); keep the pair gate on the local fixtures only.
21 lines
645 B
C
21 lines
645 B
C
/* Provenance: openssl/openssl init_sig_algs (fixed).
|
|
* repo: openssl/openssl
|
|
* commit: 02b1636fe3db274497304a3e95a4e32ced7e841b
|
|
* parent: 112580c27b829b0ac0874d5c5787195f27c7952c
|
|
* commit_url: https://github.com/openssl/openssl/commit/02b1636fe3db274497304a3e95a4e32ced7e841b
|
|
* cve: CVE-2021-3449
|
|
* license: OpenSSL License
|
|
* function: init_sig_algs
|
|
* relpath: ssl/statem/extensions.c
|
|
*/
|
|
|
|
static int init_sig_algs(SSL *s, unsigned int context)
|
|
{
|
|
/* Clear any signature algorithms extension received */
|
|
OPENSSL_free(s->s3.tmp.peer_sigalgs);
|
|
s->s3.tmp.peer_sigalgs = NULL;
|
|
s->s3.tmp.peer_sigalgslen = 0;
|
|
|
|
return 1;
|
|
}
|