X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fasync%2Farch%2Fasync_null.c;h=7b93090a9a87c13bb295a1a776108963a44effa9;hp=f015c90fb738746347cebc9f5e32fc99841af3fe;hb=224905f8aaeac7fd81a49dc160a843c5fff60e6e;hpb=2b2c78d4f0a73498739cfc0879299d7325c35160 diff --git a/crypto/async/arch/async_null.c b/crypto/async/arch/async_null.c index f015c90fb7..7b93090a9a 100644 --- a/crypto/async/arch/async_null.c +++ b/crypto/async/arch/async_null.c @@ -1,4 +1,3 @@ -/* crypto/async/arch/async_null.c */ /* * Written by Matt Caswell (matt@openssl.org) for the OpenSSL project. */ @@ -51,59 +50,13 @@ * ==================================================================== */ +/* This must be the first #include file */ #include "../async_locl.h" -#include #ifdef ASYNC_NULL -STACK_OF(ASYNC_JOB) *async_get_pool(void) +void async_local_cleanup(void) { - return NULL; -} - -int async_set_pool(STACK_OF(ASYNC_JOB) *poolin, size_t curr_size, - size_t max_size) -{ - return 0; -} - -void async_increment_pool_size(void) -{ - return; -} - -void async_release_job_to_pool(ASYNC_JOB *job) -{ - return; -} - -size_t async_pool_max_size(void) -{ - return 0; -} - -void async_release_pool(void) -{ - return; -} - -int async_pool_can_grow(void) { - return 0; -} - -int async_pipe(OSSL_ASYNC_FD *pipefds) -{ - return -1; -} - -int async_write1(OSSL_ASYNC_FD fd, const void *buf) -{ - return -1; -} - -int async_read1(OSSL_ASYNC_FD fd, void *buf) -{ - return -1; } #endif