xref: /openssl/test/rsa_complex.c (revision 2de00f4f)
1 /*
2  * Copyright 2018 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 
main(int argc,char * argv[])28 int main(int argc, char *argv[])
29 {
30     /* There are explicitly no run time checks for this one */
31     return EXIT_SUCCESS;
32 }
33