aboutsummaryrefslogtreecommitdiffstats
path: root/ext/openssl/openssl_missing.h
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2016-04-20 17:22:09 +0900
committerKazuki Yamaguchi <k@rhe.jp>2016-04-27 23:07:41 +0900
commit73cdcd19945e7306e473095fdd617a388c4b2612 (patch)
treeb33586da15f9ef98767179c32af1f730055e3418 /ext/openssl/openssl_missing.h
parente9cc5e209b520a87f05f994b2961da0ac0fd1e6d (diff)
downloadruby-73cdcd19945e7306e473095fdd617a388c4b2612.tar.gz
ext/openssl: the return type of HMAC_CTX_copy() is int
Diffstat (limited to 'ext/openssl/openssl_missing.h')
-rw-r--r--ext/openssl/openssl_missing.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/openssl_missing.h b/ext/openssl/openssl_missing.h
index 19644afcd4..1e4b2aef93 100644
--- a/ext/openssl/openssl_missing.h
+++ b/ext/openssl/openssl_missing.h
@@ -34,7 +34,7 @@ int EVP_CIPHER_CTX_copy(EVP_CIPHER_CTX *out, const EVP_CIPHER_CTX *in);
#endif
#if !defined(HAVE_HMAC_CTX_COPY)
-void HMAC_CTX_copy(HMAC_CTX *out, HMAC_CTX *in);
+int HMAC_CTX_copy(HMAC_CTX *out, HMAC_CTX *in);
#endif
/*** added in 1.0.1 ***/