Remove #error from include files.
[oweals/openssl.git] / crypto / async / arch / async_null.c
index dba159f309624615cfae4a93e75e8d6ee19bc9da..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)
-{
-    return -1;
-}
-
-int async_close_fd(OSSL_ASYNC_FD fd)
+int ASYNC_is_capable(void)
 {
     return 0;
 }
 
-int async_write1(OSSL_ASYNC_FD fd, const void *buf)
-{
-    return -1;
-}
-
-int async_read1(OSSL_ASYNC_FD fd, void *buf)
+void async_local_cleanup(void)
 {
-    return -1;
-}
-
-int async_thread_local_init(void)
-{
-    return 0;
 }
 
 #endif