aboutsummaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorBen Toews <mastahyeti@gmail.com>2018-07-06 10:00:07 -0600
committerSamuel Williams <samuel.williams@oriontransfer.co.nz>2019-10-01 11:25:06 +1300
commitfe642e702bf460e04f22c870e21a0810fffcb442 (patch)
treeeedbf909902614d2e31a9505ce0d465c57299013 /ext
parent8ed5a079a446bfc60a9a6929e877bb4ac55808b8 (diff)
downloadruby-openssl-fe642e702bf460e04f22c870e21a0810fffcb442.tar.gz
ts: fix windows build
Diffstat (limited to 'ext')
-rwxr-xr-xext/openssl/ossl_ts.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/ext/openssl/ossl_ts.c b/ext/openssl/ossl_ts.c
index 6581c5bf..8a0f7a17 100755
--- a/ext/openssl/ossl_ts.c
+++ b/ext/openssl/ossl_ts.c
@@ -7,19 +7,6 @@
* This program is licenced under the same licence as Ruby.
* (See the file 'LICENCE'.)
*/
-
-#include <openssl/asn1.h>
-#include <openssl/ossl_typ.h>
-#include <openssl/x509.h>
-#include <openssl/pkcs7.h>
-#include <openssl/objects.h>
-#include <openssl/evp.h>
-#include <openssl/err.h>
-#include <unistd.h>
-#include <openssl/bio.h>
-#include <openssl/crypto.h>
-#include <openssl/x509_vfy.h>
-
#include "ossl.h"
#if HAVE_OPENSSL_TS_H
@@ -1049,7 +1036,7 @@ ossl_ts_resp_verify(int argc, VALUE *argv, VALUE self)
TS_VERIFY_CTX *ctx;
X509_STORE *store;
TS_REQ *req;
- STACK_OF(X509) *certs;
+ STACK_OF(X509) *certs = NULL;
VALUE cert;
int i;