-/* $OpenBSD: enginetest.c,v 1.9 2022/09/05 21:06:31 tb Exp $ */
+/* $OpenBSD: enginetest.c,v 1.10 2023/06/19 18:52:29 tb Exp $ */
/* Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL
* project 2000.
*/
#include <openssl/buffer.h>
#include <openssl/crypto.h>
+#ifndef OPENSSL_NO_ENGINE
#include <openssl/engine.h>
#include <openssl/err.h>
CRYPTO_mem_leaks_fp(stderr);
return to_return;
}
+#else
+int
+main(void)
+{
+ printf("ENGINE support is disabled\n");
+ return 0;
+}
+#endif