summaryrefslogtreecommitdiffstats
path: root/ext/openssl/ossl_asn1.h
diff options
context:
space:
mode:
authormichal <michal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-09-12 13:46:48 +0000
committermichal <michal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-09-12 13:46:48 +0000
commit735834aab3644f158dc6861a11c6ac7ac4c64459 (patch)
tree7585c4dabc044459b4cfb92230bdff20fb882087 /ext/openssl/ossl_asn1.h
parent6518ae70252bf7beea8061d47735a4ab3397b066 (diff)
downloadruby-735834aab3644f158dc6861a11c6ac7ac4c64459.tar.gz
ruby-735834aab3644f158dc6861a11c6ac7ac4c64459.tar.xz
ruby-735834aab3644f158dc6861a11c6ac7ac4c64459.zip
OpenSSL update
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/openssl/ossl_asn1.h')
-rw-r--r--ext/openssl/ossl_asn1.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/ext/openssl/ossl_asn1.h b/ext/openssl/ossl_asn1.h
new file mode 100644
index 000000000..b277c573a
--- /dev/null
+++ b/ext/openssl/ossl_asn1.h
@@ -0,0 +1,27 @@
+/*
+ * $Id$
+ * 'OpenSSL for Ruby' team members
+ * Copyright (C) 2003
+ * All rights reserved.
+ */
+/*
+ * This program is licenced under the same licence as Ruby.
+ * (See the file 'LICENCE'.)
+ */
+#if !defined(_OSSL_ASN1_H_)
+#define _OSSL_ASN1_H_
+
+/*
+ * ASN1_DATE conversions
+ */
+VALUE asn1time_to_time(ASN1_TIME *);
+time_t time_to_time_t(VALUE);
+
+/*
+ * ASN1_INTEGER conversions
+ */
+VALUE asn1integer_to_num(ASN1_INTEGER *);
+ASN1_INTEGER *num_to_asn1integer(VALUE, ASN1_INTEGER *);
+
+#endif
+