Commit 937d247
committed
Don't create a key if we don't support the curve.
Found with the following configuration:
./configure --enable-tls13 --disable-oldtls --enable-static --enable-singlethreaded --enable-dtls --enable-dtls13 --enable-dtls-mtu --enable-sp=yes,4096 --disable-shared --disable-sha3 --disable-dh --enable-curve25519 --enable-secure-renegotiation --enable-debug --enable-opensslextra 'CFLAGS=-DWOLFSSL_DTLS_ALLOW_FUTURE -DWOLFSSL_MIN_RSA_BITS=2048 -DWOLFSSL_MIN_ECC_BITS=256 -DFP_MAX_BITS=8192 -fomit-frame-pointer'1 parent eb69ccb commit 937d247
2 files changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9168 | 9168 | | |
9169 | 9169 | | |
9170 | 9170 | | |
9171 | | - | |
| 9171 | + | |
9172 | 9172 | | |
9173 | 9173 | | |
9174 | 9174 | | |
9175 | 9175 | | |
9176 | 9176 | | |
| 9177 | + | |
| 9178 | + | |
| 9179 | + | |
| 9180 | + | |
| 9181 | + | |
| 9182 | + | |
| 9183 | + | |
9177 | 9184 | | |
9178 | 9185 | | |
9179 | 9186 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46165 | 46165 | | |
46166 | 46166 | | |
46167 | 46167 | | |
46168 | | - | |
| 46168 | + | |
46169 | 46169 | | |
46170 | 46170 | | |
46171 | 46171 | | |
| |||
0 commit comments