diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2018-02-10 04:57:36 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2018-02-10 04:57:36 +0000 |
commit | 19a3051a4cbf378344a9fdeb6434e212bae72beb (patch) | |
tree | b374a5da7243363a6ab8c248bd2229348cf2e1f1 /games/morse | |
parent | 8c4c3d782d166a74116089b2284739ba1da69796 (diff) |
Move the keypair pubkey hash handling code to during config.
The keypair pubkey hash was being generated and set in the keypair when the
TLS context was being configured. This code should not be messing around
with the keypair contents, since it is part of the config (and not the
context).
Instead, generate the pubkey hash and store it in the keypair when the
certificate is configured. This means that we are guaranteed to have the
pubkey hash and as a side benefit, we identify bad certificate content
when it is provided, instead of during the context configuration.
ok beck@
Diffstat (limited to 'games/morse')
0 files changed, 0 insertions, 0 deletions