aboutsummaryrefslogtreecommitdiffstats
path: root/ext/openssl/ossl_ts.h
diff options
context:
space:
mode:
authorMartin Bosslet <Martin.Bosslet@gmail.com>2018-06-21 09:35:35 -0600
committerSamuel Williams <samuel.williams@oriontransfer.co.nz>2019-10-01 11:25:06 +1300
commit936d78fe9cf9691ed6e5eddbc88e34eb062bc123 (patch)
tree859032c0870b773185793f85e49098baca8a29f5 /ext/openssl/ossl_ts.h
parent1219f70f4a5e0cf463f4929278d10943af18f6eb (diff)
downloadruby-openssl-936d78fe9cf9691ed6e5eddbc88e34eb062bc123.tar.gz
ts: Timestamp support (1/3)
This commit applies the initial patches (ts.tar.gz) from https://bugs.ruby-lang.org/issues/4183 This compiles with several warnings. Tests don't run yet.
Diffstat (limited to 'ext/openssl/ossl_ts.h')
-rwxr-xr-xext/openssl/ossl_ts.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/ext/openssl/ossl_ts.h b/ext/openssl/ossl_ts.h
new file mode 100755
index 00000000..bbf3a0a8
--- /dev/null
+++ b/ext/openssl/ossl_ts.h
@@ -0,0 +1,25 @@
+/*
+ *
+ * Copyright (C) 2010 Martin Bosslet <Martin.Bosslet@googlemail.com>
+ * All rights reserved.
+ */
+/*
+ * This program is licenced under the same licence as Ruby.
+ * (See the file 'LICENCE'.)
+ */
+
+#if !defined(_OSSL_TS_H_)
+#define _OSSL_TS_H_
+
+extern VALUE mTimestamp;
+extern VALUE eTimestampError;
+extern VALUE eCertValidationError;
+
+extern VALUE cTimestampRequest;
+extern VALUE cTimestampResponse;
+extern VALUE cTimestampFactory;
+
+void Init_ossl_ts(void);
+TS_RESP *GetTsRespPtr(VALUE obj);
+
+#endif \ No newline at end of file