mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
d9f38cbee8
* ext/openssl/ossl_digest.c: add ossl_digest_new(). * ext/openssl/ossl_digest.h: ditto. * ext/openssl/ossl_cipher.c: add ossl_cipher_new(). * ext/openssl/ossl_cipher.h: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
23 lines
488 B
C
23 lines
488 B
C
/*
|
|
* $Id$
|
|
* 'OpenSSL for Ruby' project
|
|
* Copyright (C) 2001-2002 Michal Rokos <m.rokos@sh.cvut.cz>
|
|
* All rights reserved.
|
|
*/
|
|
/*
|
|
* This program is licenced under the same licence as Ruby.
|
|
* (See the file 'LICENCE'.)
|
|
*/
|
|
#if !defined(_OSSL_DIGEST_H_)
|
|
#define _OSSL_DIGEST_H_
|
|
|
|
extern VALUE mDigest;
|
|
extern VALUE cDigest;
|
|
extern VALUE eDigestError;
|
|
|
|
const EVP_MD *GetDigestPtr(VALUE);
|
|
VALUE ossl_digest_new(const EVP_MD *);
|
|
void Init_ossl_digest(void);
|
|
|
|
#endif /* _OSSL_DIGEST_H_ */
|
|
|