summaryrefslogtreecommitdiffstats
path: root/ext/openssl/ossl_bn.h
diff options
context:
space:
mode:
authortechnorama <technorama@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-04-03 07:02:44 +0000
committertechnorama <technorama@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-04-03 07:02:44 +0000
commit85a77b2b4a6d49e06326071e444d49d914c8e83c (patch)
tree933795acd0d6fc95e1f98cfd05ee98b9a2d4fc08 /ext/openssl/ossl_bn.h
parent1f50a1e4e7ed0c0a2eb33b8f0f21821c80a99930 (diff)
downloadruby-85a77b2b4a6d49e06326071e444d49d914c8e83c.tar.gz
ruby-85a77b2b4a6d49e06326071e444d49d914c8e83c.tar.xz
ruby-85a77b2b4a6d49e06326071e444d49d914c8e83c.zip
* ext/openssl/ossl_bn.c: More documentation.
* ext/openssl/lib/ossl_{pkey,pkey_ec}.[ch]: Add elliptic curves. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/openssl/ossl_bn.h')
-rw-r--r--ext/openssl/ossl_bn.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/openssl/ossl_bn.h b/ext/openssl/ossl_bn.h
index 12aa48487..d6c396227 100644
--- a/ext/openssl/ossl_bn.h
+++ b/ext/openssl/ossl_bn.h
@@ -14,9 +14,12 @@
extern VALUE cBN;
extern VALUE eBNError;
-VALUE ossl_bn_new(BIGNUM *);
+extern BN_CTX *ossl_bn_ctx;
+
+VALUE ossl_bn_new(const BIGNUM *);
BIGNUM *GetBNPtr(VALUE);
void Init_ossl_bn(void);
+
#endif /* _OSS_BN_H_ */