mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-10-30 19:20:40 -04:00 
			
		
		
		
	ECDH: Fix Everest ECDH side type
This commit is contained in:
		
							parent
							
								
									24fbceff50
								
							
						
					
					
						commit
						2e724a18a1
					
				
							
								
								
									
										2
									
								
								library/ecdh.c
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										2
									
								
								library/ecdh.c
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							| @ -506,7 +506,7 @@ int mbedtls_ecdh_get_params( mbedtls_ecdh_context *ctx, | |||||||
| #if defined(MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED) | #if defined(MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED) | ||||||
|         case MBEDTLS_ECDH_VARIANT_EVEREST: |         case MBEDTLS_ECDH_VARIANT_EVEREST: | ||||||
|         { |         { | ||||||
|             mbedtls_x25519_ecdh_side s = side == MBEDTLS_ECDH_OURS ? |             mbedtls_everest_ecdh_side s = side == MBEDTLS_ECDH_OURS ? | ||||||
|                                                    MBEDTLS_EVEREST_ECDH_OURS : |                                                    MBEDTLS_EVEREST_ECDH_OURS : | ||||||
|                                                    MBEDTLS_EVEREST_ECDH_THEIRS; |                                                    MBEDTLS_EVEREST_ECDH_THEIRS; | ||||||
|             return( mbedtls_everest_get_params( &ctx->ctx.everest_ecdh, |             return( mbedtls_everest_get_params( &ctx->ctx.everest_ecdh, | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Christoph M. Wintersteiger
						Christoph M. Wintersteiger