OCSP - simplify feature test

Make it more like feature 'dtls' test.

Change-Id: I29f5e9337d99440015431a8cfb001f5fb28e1c5f
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
This commit is contained in:
Timur Pocheptsov 2019-01-11 13:33:35 +01:00
parent f94ca82e0f
commit 77b969cb84

View File

@ -195,10 +195,6 @@
"#if defined(OPENSSL_NO_OCSP) || defined(OPENSSL_NO_TLSEXT)",
"# error OpenSSL without OCSP stapling",
"#endif"
],
"main": [
"(void)SSL_get_tlsext_status_ocsp_resp(nullptr, nullptr);",
"(void)d2i_OCSP_RESPONSE(nullptr, nullptr, 0);"
]
},
"use": "openssl"