We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 200859f commit 66f2a4cCopy full SHA for 66f2a4c
tests/check/engine/dummy-engine.c
@@ -44,6 +44,12 @@
44
static int
45
bind(ENGINE *engine, const char *id)
46
{
47
+ // Engines are deprecated but should still work with OpenSSL 3.x, so we just suppress the deprecation warnings
48
+ // see ssl_engine() in src/ssl.c as well
49
+#if OPENSSL_VERSION_NUMBER >= 0x30000000L && !defined(LIBRESSL_VERSION_NUMBER)
50
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
51
+#endif /* OPENSSL_VERSION_NUMBER >= 0x30000000L */
52
+
53
if (!ENGINE_set_id(engine, "dummy")) {
54
fprintf(stderr, "ENGINE_set_id() failed\n");
55
return 0;
0 commit comments