mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
935275bb59
* ext/digest/digest.h (DEFINE_FINISH_FUNC_FROM_FINAL): macro for finish functions, by inverting arguments order. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
15 lines
259 B
C
15 lines
259 B
C
/* $Id$ */
|
|
|
|
#ifndef MD5OSSL_H_INCLUDED
|
|
#define MD5OSSL_H_INCLUDED
|
|
|
|
#include <stddef.h>
|
|
#include <openssl/md5.h>
|
|
|
|
#define MD5_BLOCK_LENGTH MD5_CBLOCK
|
|
|
|
static DEFINE_FINISH_FUNC_FROM_FINAL(MD5);
|
|
#undef MD5_Finish
|
|
#define MD5_Finish rb_digest_MD5_finish
|
|
|
|
#endif
|