rsa_complex.c 904 B

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