From 063ebb06369d03173d79708b06a520db3ee32c73 Mon Sep 17 00:00:00 2001 From: Samuel Giddins Date: Wed, 3 Jul 2024 10:43:06 -0700 Subject: [PATCH] Use ifdef to avoid undef warning --- ext/openssl/ossl_x509store.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/openssl/ossl_x509store.c b/ext/openssl/ossl_x509store.c index adff9560d..670519feb 100644 --- a/ext/openssl/ossl_x509store.c +++ b/ext/openssl/ossl_x509store.c @@ -332,7 +332,7 @@ ossl_x509store_set_time(VALUE self, VALUE time) X509_VERIFY_PARAM *param; GetX509Store(self, store); -#if HAVE_X509_STORE_GET0_PARAM +#ifdef HAVE_X509_STORE_GET0_PARAM param = X509_STORE_get0_param(store); #else param = store->param;