Remove #error from include files.
[oweals/openssl.git] / crypto / async / arch / async_null.c
index 8de50ed5313088725b1a6af657323674bcab043d..19fb72c2c081b9c580ec3b2c86b81027a7a4ee8d 100644 (file)
@@ -1,4 +1,3 @@
-/* crypto/async/arch/async_null.c */
 /*
  * Written by Matt Caswell (matt@openssl.org) for the OpenSSL project.
  */
  * ====================================================================
  */
 
+/* This must be the first #include file */
 #include "../async_locl.h"
-#include <openssl/async.h>
 
 #ifdef ASYNC_NULL
+# include <openssl/ct.h>
+# include <openssl/x509v3.h>
 
-int async_pipe(OSSL_ASYNC_FD *pipefds)
+int ASYNC_is_capable(void)
 {
-    return -1;
+    return 0;
 }
 
-int async_write1(OSSL_ASYNC_FD fd, const void *buf)
+void async_local_cleanup(void)
 {
-    return -1;
-}
-
-int async_read1(OSSL_ASYNC_FD fd, void *buf)
-{
-    return -1;
 }
 
 #endif