mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	Suppress warning on Solaris with Oracle Solaris Studio 12. [ruby-dev:49692] [Bug #12524] * ext/digest/md5/md5cc.h: ditto. * ext/digest/sha1/sha1cc.h: ditto. * ext/digest/sha1/sha1ossl.h: ditto. * ext/digest/sha2/sha2cc.h: ditto. * ext/digest/sha2/sha2ossl.h: ditto. * ext/openssl/ossl_pkey_rsa.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
		
			
				
	
	
		
			22 lines
		
	
	
	
		
			416 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
	
		
			416 B
		
	
	
	
		
			C
		
	
	
	
	
	
/* $Id$ */
 | 
						|
 | 
						|
#ifndef SHA1OSSL_H_INCLUDED
 | 
						|
#define SHA1OSSL_H_INCLUDED
 | 
						|
 | 
						|
#include <stddef.h>
 | 
						|
#include <openssl/sha.h>
 | 
						|
 | 
						|
#define SHA1_CTX	SHA_CTX
 | 
						|
 | 
						|
#ifdef SHA_BLOCK_LENGTH
 | 
						|
#define SHA1_BLOCK_LENGTH	SHA_BLOCK_LENGTH
 | 
						|
#else
 | 
						|
#define SHA1_BLOCK_LENGTH	SHA_CBLOCK
 | 
						|
#endif
 | 
						|
#define SHA1_DIGEST_LENGTH	SHA_DIGEST_LENGTH
 | 
						|
 | 
						|
static DEFINE_FINISH_FUNC_FROM_FINAL(SHA1)
 | 
						|
#undef SHA1_Finish
 | 
						|
#define SHA1_Finish rb_digest_SHA1_finish
 | 
						|
 | 
						|
#endif
 |