--- ruby-3.0.2-orig/ext/openssl/openssl_missing.h 2021-07-07 20:08:35.000000000 +1000 +++ ruby-3.0.2/ext/openssl/openssl_missing.h 2021-09-17 17:03:26.395365723 +1000 @@ -235,7 +235,7 @@ # define TS_STATUS_INFO_get0_failure_info(a) ((a)->failure_info) #endif -#if !defined(HAVE_TS_VERIFY_CTS_SET_CERTS) +#if !defined(HAVE_TS_VERIFY_CTS_SET_CERTS) && (SSL3_VERSION < 0x0300) # define TS_VERIFY_CTS_set_certs(ctx, crts) ((ctx)->certs=(crts)) #endif