diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2017-11-11 00:59:57 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2017-11-11 18:35:59 +0900 |
commit | 1425bf543ddcf7280877624532128cdd311f54ab (patch) | |
tree | 03dbf5ae7aaf6839787963984980fd5147220d30 /ext/openssl/ossl_pkey.h | |
parent | 4cf2074148f658ec7c57c70f3e9d447991ae5c32 (diff) | |
download | ruby-openssl-1425bf543ddcf7280877624532128cdd311f54ab.tar.gz |
pkey: make pkey_check_public_key() non-static
Also make it take const pointer as it never modifies the pkey.
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); |