| Server IP : 82.208.35.60 / Your IP : 216.73.217.116 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/sysutils/tlsdate/files/ |
Upload File : |
Obtained from: https://chromium-review.googlesource.com/c/chromiumos/third_party/tlsdate/+/549533
--- src/openssl_compat.h.orig 2018-10-16 13:25:06 UTC
+++ src/openssl_compat.h
@@ -0,0 +1,31 @@
+/*
+ * openssl_compat.h - OpenSSL 1.1 Compatability Layer
+ * Copyright 2017 The Chromium OS Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+#ifndef SRC_OPENSSL_COMPAT_H_
+#define SRC_OPENSSL_COMPAT_H_
+
+#include <openssl/bio.h>
+
+#if OPENSSL_VERSION_NUMBER < 0x10100000L
+
+static inline void BIO_set_data(BIO *a, void *ptr)
+{
+ a->ptr = ptr;
+}
+
+static inline void *BIO_get_data(BIO *a)
+{
+ return a ? a->ptr : NULL;
+}
+
+static inline void BIO_set_init(BIO *a, int init)
+{
+ a->init = init;
+}
+
+#endif
+
+#endif /* SRC_OPENSSL_COMPAT_H_ */