VirtualBox

source: vbox/trunk/src/libs/openssl-3.4.1/crypto/async/arch/async_null.c@ 109332

Last change on this file since 109332 was 109052, checked in by vboxsync, 4 weeks ago

openssl-3.4.1: Applied our changes, regenerated files, added missing files and functions. This time with a three way merge. ​bugref:10890

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 878 bytes
Line 
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
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette