diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2016-08-24 00:30:00 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2016-10-28 11:45:13 +0900 |
commit | 4c18c159b9df516324496fce09e8e5049d5be3fa (patch) | |
tree | 7d8d481d775f038485b350cfa3e5b2e129ee3de7 /ext/openssl/ossl_x509.h | |
parent | 8295165b3f5c7dac67149edc9e1ff8118a68a7ac (diff) | |
download | ruby-openssl-4c18c159b9df516324496fce09e8e5049d5be3fa.tar.gz |
Move verify_callback stuff to ossl_x509store.c
Accordingly, unused functions ossl_x509stctx_new() and
ossl_x509stctx_clear_ptr() are now removed.
Diffstat (limited to 'ext/openssl/ossl_x509.h')
-rw-r--r-- | ext/openssl/ossl_x509.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/ext/openssl/ossl_x509.h b/ext/openssl/ossl_x509.h index c26da738..a60f7c3d 100644 --- a/ext/openssl/ossl_x509.h +++ b/ext/openssl/ossl_x509.h @@ -110,10 +110,13 @@ VALUE ossl_x509store_new(X509_STORE *); X509_STORE *GetX509StorePtr(VALUE); X509_STORE *DupX509StorePtr(VALUE); -VALUE ossl_x509stctx_new(X509_STORE_CTX *); -VALUE ossl_x509stctx_clear_ptr(VALUE); X509_STORE_CTX *GetX509StCtxtPtr(VALUE); - void Init_ossl_x509store(void); +/* + * Calls the verify callback Proc (the first parameter) with given pre-verify + * result and the X509_STORE_CTX. + */ +int ossl_verify_cb_call(VALUE, int, X509_STORE_CTX *); + #endif /* _OSSL_X509_H_ */ |