mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	 d77b606edd
			
		
	
	
		d77b606edd
		
	
	
	
	
		
			
			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
		
	
			
		
			
				
	
	
		
			20 lines
		
	
	
	
		
			439 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			439 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * $Id$
 | |
|  * 'OpenSSL for Ruby' project
 | |
|  * Copyright (C) 2003  Michal Rokos <m.rokos@sh.cvut.cz>
 | |
|  * Copyright (C) 2003  GOTOU Yuuzou <gotoyuzo@notwork.org>
 | |
|  * 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 */
 |