VirtualBox

source: vbox/trunk/src/libs/openssl-3.1.5/test/rsa_complex.c@ 105770

Last change on this file since 105770 was 104078, checked in by vboxsync, 8 months ago

openssl-3.1.5: Applied and adjusted our OpenSSL changes to 3.1.4. bugref:10638

File size: 909 bytes
Line 
1/*
2 * Copyright 2018-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/*
11 * Check to see if there is a conflict between complex.h and openssl/rsa.h.
12 * The former defines "I" as a macro and earlier versions of the latter use
13 * for function arguments.
14 *
15 * Will always succeed on djgpp, since its libc does not have complex.h.
16 */
17
18#if !defined(__DJGPP__)
19# if defined(__STDC_VERSION__)
20# if __STDC_VERSION__ >= 199901L
21# include <complex.h>
22# endif
23# endif
24# include <openssl/rsa.h>
25#endif
26#include <stdlib.h>
27
28int main(int argc, char *argv[])
29{
30 /* There are explicitly no run time checks for this one */
31 return EXIT_SUCCESS;
32}
Note: See TracBrowser for help on using the repository browser.

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