diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2017-11-14 12:51:28 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-14 12:51:28 +0900 |
commit | eb2a5715ebca1720d42d5b237860c677bc767e6c (patch) | |
tree | dfe18253ab54210ceb077409d2360617bead8369 /ext/openssl/ossl_pkey.h | |
parent | 4cf2074148f658ec7c57c70f3e9d447991ae5c32 (diff) | |
parent | 363f40fb47bef81a784d4cc6feabef345ada9b0f (diff) | |
download | ruby-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.h | 1 |
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); |