Repository navigation
Commit feb8782
committed
Fix missing ECC point validation on import (ZD 21418)
Validate ECC key imports when the untrusted flag is set to prevent
invalid curve attacks. The TLS key exchange path (internal.c) passes
untrusted=1 for peer keys. Trusted imports (cert parsing) pass
untrusted=0 and skip the check.1 parent 392ce13 commit feb8782
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11004 | 11004 | | |
11005 | 11005 | | |
11006 | 11006 | | |
| 11007 | + | |
| 11008 | + | |
| 11009 | + | |
| 11010 | + | |
11007 | 11011 | | |
11008 | 11012 | | |
11009 | 11013 | | |
| |||
0 commit comments