summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dsa/dsa_prn.c
diff options
context:
space:
mode:
authortb <>2022-11-18 15:01:04 +0000
committertb <>2022-11-18 15:01:04 +0000
commiteb6a541f28bbed4ffac5a7a3415572e757ad15d2 (patch)
tree6bb36687c28a9ff4ad25e69001d876c7678c0c60 /src/lib/libcrypto/dsa/dsa_prn.c
parent54b961b017cbfded9bc4892699ccbc35bebf5c6f (diff)
downloadopenbsd-eb6a541f28bbed4ffac5a7a3415572e757ad15d2.tar.gz
openbsd-eb6a541f28bbed4ffac5a7a3415572e757ad15d2.tar.bz2
openbsd-eb6a541f28bbed4ffac5a7a3415572e757ad15d2.zip
Wire up HMAC to raw private key methods
Obviously, the brilliant API design kitchen decided that an interface carrying public and private key in its name (so that every sane person thinks of asymmetric cryptography), is also perfectly suitable for MACs. Wire up HMAC since Ruby's OpenSSL gem uses these bindings if the build system detects that EVP_PKEY_new_raw_public_key() is available in evp.h. While there, also add the missing pub_cmp() ameth, which obviously treats two things as equal by returning 1. Reported by jeremy and anton, fixes regress/lib/libssl/openssl-ruby tests ok jsing
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa_prn.c')
0 files changed, 0 insertions, 0 deletions