]>
Commit | Line | Data |
---|---|---|
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 |
14 | int ASYNC_is_capable(void) |
15 | { | |
16 | return 0; | |
17 | } | |
18 | ||
f6f56f47 ACB |
19 | int ASYNC_set_mem_functions(ASYNC_stack_alloc_fn alloc_fn, |
20 | ASYNC_stack_free_fn free_fn) | |
21 | { | |
22 | return 0; | |
23 | } | |
24 | ||
25 | void 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 |
34 | void async_local_cleanup(void) |
35 | { | |
36 | } | |
7240557b MC |
37 | #endif |
38 |