Skip to content

Commit

Permalink
build_wincrypt_test.c: Fix compilation with MSVC
Browse files Browse the repository at this point in the history
Fixes issue #20805

Reviewed-by: Todd Short <todd.short@me.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from #20806)
  • Loading branch information
matbech authored and t8m committed Apr 28, 2023
1 parent dc231eb commit b5a635d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/build_wincrypt_test.c
Expand Up @@ -22,7 +22,11 @@
# include <wincrypt.h>
# ifndef X509_NAME
# ifndef PEDANTIC
# warning "wincrypt.h no longer defining X509_NAME before OpenSSL headers"
# ifdef _MSC_VER
# pragma message("wincrypt.h no longer defining X509_NAME before OpenSSL headers")
# else
# warning "wincrypt.h no longer defining X509_NAME before OpenSSL headers"
# endif
# endif
# endif
#endif
Expand Down

0 comments on commit b5a635d

Please sign in to comment.