summaryrefslogtreecommitdiff
path: root/cmake/config/ipcp
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2026-08-29 16:15:22 +0200
committerSander Vrijders <sander@ouroboros.rocks>2026-08-31 08:31:46 +0200
commitafb0e1c4ab6732727c5231ed330f42d7f8db71f1 (patch)
treec1fef4c31e9eae700ee83ddafe064635a8f9a0d8 /cmake/config/ipcp
parent596bb667d49ff0bc89c8d0b8011a6f7bdba26f75 (diff)
downloadouroboros-testing.tar.gz
ouroboros-testing.zip
lib: Reject peer keys of another algorithmtestingbe
The openssl_dhe_derive() function decoded the peer public key from the wire with d2i_PUBKEY() and handed it straight to EVP_PKEY_derive_set_peer(). A peer offering a key of a type other than the one negotiated was only caught inside OpenSSL. This aborts in OpenSSL debug builds, which tripped integration. Now we check the decoded key type against the type of the local key pair first. Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'cmake/config/ipcp')
0 files changed, 0 insertions, 0 deletions