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 openssl#20805

Reviewed-by: Todd Short <[email protected]>
Reviewed-by: Tomas Mraz <[email protected]>
(Merged from openssl#20806)

(cherry picked from commit b5a635d)
  • Loading branch information
matbech authored and t8m committed Nov 21, 2024
1 parent 04da687 commit 61f9b28
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/build_wincrypt_test.c
Original file line number Diff line number Diff line change
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 61f9b28

Please sign in to comment.