mirror of https://github.com/openssl/openssl.git
				
				
				
			s390x: Fix build on s390x with 'disable-asm'
Do not define S390X_MOD_EXP for a NO_ASM build, this would result in
unresolved externals for s390x_mod_exp and s390x_crt.
Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23458)
(cherry picked from commit a5b0c568db)
			
			
This commit is contained in:
		
							parent
							
								
									00f96107a7
								
							
						
					
					
						commit
						5fa5d59750
					
				|  | @ -116,7 +116,8 @@ OSSL_LIB_CTX *ossl_bn_get_libctx(BN_CTX *ctx); | ||||||
| 
 | 
 | ||||||
| extern const BIGNUM ossl_bn_inv_sqrt_2; | extern const BIGNUM ossl_bn_inv_sqrt_2; | ||||||
| 
 | 
 | ||||||
| #if defined(OPENSSL_SYS_LINUX) && !defined(FIPS_MODULE) && defined (__s390x__) | #if defined(OPENSSL_SYS_LINUX) && !defined(FIPS_MODULE) && defined (__s390x__) \ | ||||||
|  |     && !defined (OPENSSL_NO_ASM) | ||||||
| # define S390X_MOD_EXP | # define S390X_MOD_EXP | ||||||
| #endif | #endif | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue