]> git.ipfire.org Git - thirdparty/openssl.git/blame - crypto/async/arch/async_null.c
Fix some conversion from size_t to const int errors
[thirdparty/openssl.git] / crypto / async / arch / async_null.c
CommitLineData
7240557b 1/*
fecb3aae 2 * Copyright 2015-2022 The OpenSSL Project Authors. All Rights Reserved.
7240557b 3 *
f3a95349 4 * Licensed under the Apache License 2.0 (the "License"). You may not use
62867571
RS
5 * this file except in compliance with the License. You can obtain a copy
6 * in the file LICENSE in the source distribution or at
7 * https://www.openssl.org/source/license.html
7240557b
MC
8 */
9
6e8ac508 10/* This must be the first #include file */
706457b7 11#include "../async_local.h"
7240557b
MC
12
13#ifdef ASYNC_NULL
667867cc
MC
14int ASYNC_is_capable(void)
15{
16 return 0;
17}
18
f6f56f47
ACB
19int ASYNC_set_mem_functions(ASYNC_stack_alloc_fn alloc_fn,
20 ASYNC_stack_free_fn free_fn)
21{
22 return 0;
23}
24
25void ASYNC_get_mem_functions(ASYNC_stack_alloc_fn *alloc_fn,
26 ASYNC_stack_free_fn *free_fn)
27{
28 if (alloc_fn != NULL)
29 *alloc_fn = NULL;
30 if (free_fn != NULL)
31 *free_fn = NULL;
32}
33
22a34c2f
MC
34void async_local_cleanup(void)
35{
36}
7240557b
MC
37#endif
38