diff options
author | schwarze <> | 2024-11-12 00:42:28 +0000 |
---|---|---|
committer | schwarze <> | 2024-11-12 00:42:28 +0000 |
commit | ca342fb6c81c80bf14c0c3b773d2916eb135cdcd (patch) | |
tree | 20573a20cc2fcbba4329dcc84629c7a23123badf /src/lib/libssl/ssl_methods.c | |
parent | 4a2f98c12c8b8ffbfb725a6edb8ff4342f85a567 (diff) | |
download | openbsd-ca342fb6c81c80bf14c0c3b773d2916eb135cdcd.tar.gz openbsd-ca342fb6c81c80bf14c0c3b773d2916eb135cdcd.tar.bz2 openbsd-ca342fb6c81c80bf14c0c3b773d2916eb135cdcd.zip |
Fix a brainfart that happened to me in 2020:
It is impossible to use EVP_DigestInit_ex(3) for CMAC.
Besides, EVP_PKEY_CTX_new_id(3) does not produce an EVP_MD_CTX object.
Instead, mention the easiest way to actually get the job done
using EVP_PKEY_new_CMAC_key(3) and EVP_DigestSignInit(3).
OK tb@
Diffstat (limited to 'src/lib/libssl/ssl_methods.c')
0 files changed, 0 insertions, 0 deletions