From d77b606edd788a52e40b27838c6b1b588c1f33cd Mon Sep 17 00:00:00 2001 From: gotoyuzo Date: Thu, 2 Oct 2003 08:47:11 +0000 Subject: * ext/openssl/ossl_engine.c: add a new module OpenSSL::Engine. it supports OpenSSL hardware cryptographic engine interface. * ext/openssl/ossl_engine.h: ditto. * ext/openssl/MANIFEST: add ossl_engine.c and ossl_engine.h. * ext/openssl/extconf.rb: add check for openssl/engine.h. * ext/openssl/ossl.c: call Init_ossl_engine(). * ext/openssl/ossl.h: include openssl/engine.h. * ext/openssl/ossl_pkey_{rsa,dsa,dh}.c: check if underlying EVP_PKEY referes engine. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/openssl/ossl_engine.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 ext/openssl/ossl_engine.h (limited to 'ext/openssl/ossl_engine.h') diff --git a/ext/openssl/ossl_engine.h b/ext/openssl/ossl_engine.h new file mode 100644 index 0000000000..ea2f256912 --- /dev/null +++ b/ext/openssl/ossl_engine.h @@ -0,0 +1,20 @@ +/* + * $Id$ + * 'OpenSSL for Ruby' project + * Copyright (C) 2003 Michal Rokos + * Copyright (C) 2003 GOTOU Yuuzou + * All rights reserved. + */ +/* + * This program is licenced under the same licence as Ruby. + * (See the file 'LICENCE'.) + */ +#if !defined(OSSL_ENGINE_H) +#define OSSL_ENGINE_H + +extern VALUE cEngine; +extern VALUE eEngineError; + +void Init_ossl_engine(void); + +#endif /* OSSL_ENGINE_H */ -- cgit v1.2.3