mirror of https://github.com/openssl/openssl.git
				
				
				
			build_wincrypt_test.c: Fix compilation with MSVC
Fixes issue https://github.com/openssl/openssl/issues/20805
Reviewed-by: Todd Short <todd.short@me.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(cherry picked from commit b5a635dc21)
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26018)
			
			
This commit is contained in:
		
							parent
							
								
									53931e6792
								
							
						
					
					
						commit
						081d30b8f2
					
				|  | @ -22,9 +22,13 @@ | |||
| # include <wincrypt.h> | ||||
| # ifndef X509_NAME | ||||
| #  ifndef PEDANTIC | ||||
| #    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 | ||||
| 
 | ||||
| #include <openssl/opensslconf.h> | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue