summaryrefslogtreecommitdiff
path: root/src/lib/libssl/tls13_lib.c
diff options
context:
space:
mode:
authortb <>2024-10-28 17:59:45 +0000
committertb <>2024-10-28 17:59:45 +0000
commitffcada1420a16468d4f8fc529d3b6b229319d5e0 (patch)
tree260aa70957b18c7a81a8ab39cfe3f65a9bd1b252 /src/lib/libssl/tls13_lib.c
parentca1f1140bef69caae67c74bb7a1c52e12211fe51 (diff)
downloadopenbsd-ffcada1420a16468d4f8fc529d3b6b229319d5e0.tar.gz
openbsd-ffcada1420a16468d4f8fc529d3b6b229319d5e0.tar.bz2
openbsd-ffcada1420a16468d4f8fc529d3b6b229319d5e0.zip
d2i_ECPrivateKey: split private key setting into a helper
Contrary to domain parameters and public key, the private key most be part of the DER. Convert that to a BIGNUM and set it on the EC_KEY. Use the dedicated setter for this (which will possibly call the handler of the EC_KEY_METHOD) rather than doing this by hand. ok jsing
Diffstat (limited to 'src/lib/libssl/tls13_lib.c')
0 files changed, 0 insertions, 0 deletions