aboutsummaryrefslogtreecommitdiffstats
path: root/ossl.h
diff options
context:
space:
mode:
authorGOTOU Yuuzou <gotoyuzo@notwork.org>2001-11-16 15:36:38 +0000
committerGOTOU Yuuzou <gotoyuzo@notwork.org>2001-11-16 15:36:38 +0000
commit7aef9ad51ff25208bf1a4a60d1371a781ecf3dac (patch)
tree2122c82076828441be29140a1e079dc3a0a3c250 /ossl.h
parent3d032c89b753d125cf383cb6a1bef6b472b0a981 (diff)
downloadruby-openssl-history-7aef9ad51ff25208bf1a4a60d1371a781ecf3dac.tar.gz
for compatibility with old SSLSocket
Diffstat (limited to 'ossl.h')
-rw-r--r--ossl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ossl.h b/ossl.h
index 19229b4..285a458 100644
--- a/ossl.h
+++ b/ossl.h
@@ -11,6 +11,7 @@
#ifndef _OSSL_H_
#define _OSSL_H_
+#include <errno.h>
#include <openssl/asn1_mac.h>
#include <openssl/x509v3.h>
#include <openssl/ssl.h>
@@ -18,6 +19,7 @@
#if !defined(OSSL_DEBUG) && defined(RFILE)
# undef RFILE
#endif
+#include "ossl_version.h"
#include <ruby.h>
/*
@@ -116,6 +118,7 @@ void Init_ossl_digest(VALUE);
* X509
*/
VALUE ossl_x509_new2(X509 *);
+VALUE ossl_x509_new_from_file(VALUE);
X509 *ossl_x509_get_X509(VALUE);
void Init_ossl_x509(VALUE);
@@ -188,6 +191,7 @@ void Init_ossl_rand(VALUE);
* PKey
*/
VALUE ossl_pkey_new(EVP_PKEY *);
+VALUE ossl_pkey_new_from_file(VALUE);
EVP_PKEY *ossl_pkey_get_EVP_PKEY(VALUE);
void Init_ossl_pkey(VALUE);