]> git.ipfire.org Git - thirdparty/openssl.git/blame_incremental - crypto/async/arch/async_null.c
Update util/analyze-contention-log.sh
[thirdparty/openssl.git] / crypto / async / arch / async_null.c
... / ...
CommitLineData
1/*
2 * Copyright 2015-2022 The OpenSSL Project Authors. All Rights Reserved.
3 *
4 * Licensed under the Apache License 2.0 (the "License"). You may not use
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
8 */
9
10/* This must be the first #include file */
11#include "../async_local.h"
12
13#ifdef ASYNC_NULL
14int ASYNC_is_capable(void)
15{
16 return 0;
17}
18
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
34void async_local_cleanup(void)
35{
36}
37#endif
38