aboutsummaryrefslogtreecommitdiffstats
path: root/ext/openssl/ossl.h
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2020-05-18 16:15:07 +0900
committerKazuki Yamaguchi <k@rhe.jp>2020-06-30 14:28:31 +0900
commit0317e2fc028be40a7d64d0e4337d3e21539613ce (patch)
treeeeee51f297d57e237ebe321a90281c0694a34ce2 /ext/openssl/ossl.h
parent8253d7c9cea16c2aa009b59db4f5d93afb74c6eb (diff)
downloadruby-openssl-ky/hmac-evp.tar.gz
hmac: migrate from the low-level HMAC API to the EVP APIky/hmac-evp
Use the EVP API instead of the low-level HMAC API. Use of the HMAC API has been discouraged and is being marked as deprecated starting from OpenSSL 3.0.0. The two singleton methods OpenSSL::HMAC, HMAC.digest and HMAC.hexdigest are now in lib/openssl/hmac.rb.
Diffstat (limited to 'ext/openssl/ossl.h')
-rw-r--r--ext/openssl/ossl.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/openssl/ossl.h b/ext/openssl/ossl.h
index c20f506b..577eb6d6 100644
--- a/ext/openssl/ossl.h
+++ b/ext/openssl/ossl.h
@@ -24,7 +24,6 @@
#include <openssl/ssl.h>
#include <openssl/pkcs12.h>
#include <openssl/pkcs7.h>
-#include <openssl/hmac.h>
#include <openssl/rand.h>
#include <openssl/conf.h>
#ifndef OPENSSL_NO_TS