Skip to content

curve25519: fix uninitialized arg to EVP_PKEY_derive

Jon Simons requested to merge simonsj1/libssh-mirror:fix-t205 into master

Ensure that the keylen argument as provided to EVP_PKEY_derive is initialized, otherwise depending on stack contents, the function call may fail.

Fixes T205.

Signed-off-by: Jon Simons jon@jonsimons.org

cc @ansasaki @jjelen for review per d463f67a

Merge request reports