DPP: Fix build with LibreSSL v2.5
The ECDSA_SIG_{set,get}0() wrappers are needed with LibreSSL v2.5 (but
not v2.7.2).
Signed-off-by: Jouni Malinen <j@w1.fi>
			
			
This commit is contained in:
		
							parent
							
								
									4b603f01de
								
							
						
					
					
						commit
						5ecdf06c8c
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -43,7 +43,9 @@ static int dpp_test_gen_invalid_key(struct wpabuf *msg, | |||
| 				    const struct dpp_curve_params *curve); | ||||
| #endif /* CONFIG_TESTING_OPTIONS */ | ||||
| 
 | ||||
| #if OPENSSL_VERSION_NUMBER < 0x10100000L | ||||
| #if OPENSSL_VERSION_NUMBER < 0x10100000L || \ | ||||
| 	(defined(LIBRESSL_VERSION_NUMBER) && \ | ||||
| 	 LIBRESSL_VERSION_NUMBER < 0x20700000L) | ||||
| /* Compatibility wrappers for older versions. */ | ||||
| 
 | ||||
| static int ECDSA_SIG_set0(ECDSA_SIG *sig, BIGNUM *r, BIGNUM *s) | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Jouni Malinen
						Jouni Malinen