aboutsummaryrefslogtreecommitdiffstats
path: root/ext/openssl/ossl_pkey.h
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2017-11-14 12:51:28 +0900
committerGitHub <noreply@github.com>2017-11-14 12:51:28 +0900
commiteb2a5715ebca1720d42d5b237860c677bc767e6c (patch)
treedfe18253ab54210ceb077409d2360617bead8369 /ext/openssl/ossl_pkey.h
parent4cf2074148f658ec7c57c70f3e9d447991ae5c32 (diff)
parent363f40fb47bef81a784d4cc6feabef345ada9b0f (diff)
downloadruby-openssl-eb2a5715ebca1720d42d5b237860c677bc767e6c.tar.gz
Merge pull request #168 from rhenium/ky/pkey-check-sanity
[Bug #14087] x509cert, x509crl, x509req, ns_spki: check sanity of public key
Diffstat (limited to 'ext/openssl/ossl_pkey.h')
-rw-r--r--ext/openssl/ossl_pkey.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/openssl/ossl_pkey.h b/ext/openssl/ossl_pkey.h
index e3b723cd..a0b49744 100644
--- a/ext/openssl/ossl_pkey.h
+++ b/ext/openssl/ossl_pkey.h
@@ -48,6 +48,7 @@ int ossl_generate_cb_2(int p, int n, BN_GENCB *cb);
void ossl_generate_cb_stop(void *ptr);
VALUE ossl_pkey_new(EVP_PKEY *);
+void ossl_pkey_check_public_key(const EVP_PKEY *);
EVP_PKEY *GetPKeyPtr(VALUE);
EVP_PKEY *DupPKeyPtr(VALUE);
EVP_PKEY *GetPrivPKeyPtr(VALUE);