Blame SOURCES/0001-Define-OPENSSL_API_COMPAT-to-0x10101000L.patch

98709d
From b339a18aa06c78d64ac33d891d400eac7b86fff3 Mon Sep 17 00:00:00 2001
98709d
From: Jakub Hrozek <jhrozek@redhat.com>
98709d
Date: Mon, 17 May 2021 13:30:24 +0200
98709d
Subject: [PATCH] Define OPENSSL_API_COMPAT to 0x10101000L
98709d
98709d
---
98709d
 src/jwe.c | 2 ++
98709d
 src/jwk.c | 2 ++
98709d
 src/jws.c | 2 ++
98709d
 3 files changed, 6 insertions(+)
98709d
98709d
diff --git a/src/jwe.c b/src/jwe.c
98709d
index 822d408..d6f3149 100644
98709d
--- a/src/jwe.c
98709d
+++ b/src/jwe.c
98709d
@@ -5,6 +5,8 @@
98709d
  * Copyright (c) 2014-2016 Cisco Systems, Inc.  All Rights Reserved.
98709d
  */
98709d
 
98709d
+#define OPENSSL_API_COMPAT 0x10101000L
98709d
+
98709d
 #include <cjose/base64.h>
98709d
 #include <cjose/header.h>
98709d
 #include <cjose/jwe.h>
98709d
diff --git a/src/jwk.c b/src/jwk.c
98709d
index 860f0e7..87408e9 100644
98709d
--- a/src/jwk.c
98709d
+++ b/src/jwk.c
98709d
@@ -5,6 +5,8 @@
98709d
  * Copyright (c) 2014-2016 Cisco Systems, Inc.  All Rights Reserved.
98709d
  */
98709d
 
98709d
+#define OPENSSL_API_COMPAT 0x10101000L
98709d
+
98709d
 #include "include/jwk_int.h"
98709d
 #include "include/util_int.h"
98709d
 
98709d
diff --git a/src/jws.c b/src/jws.c
98709d
index 4e03554..9d682a0 100644
98709d
--- a/src/jws.c
98709d
+++ b/src/jws.c
98709d
@@ -5,6 +5,8 @@
98709d
  * Copyright (c) 2014-2016 Cisco Systems, Inc.  All Rights Reserved.
98709d
  */
98709d
 
98709d
+#define OPENSSL_API_COMPAT 0x10101000L
98709d
+
98709d
 #include <cjose/base64.h>
98709d
 #include <cjose/header.h>
98709d
 #include <cjose/jws.h>
98709d
-- 
98709d
2.31.1
98709d