Don't use EC when no-ec.
Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
		@@ -1068,6 +1068,7 @@ static int ssl_print_server_keyex(BIO *bio, int indent, SSL *ssl,
 | 
			
		||||
            return 0;
 | 
			
		||||
        break;
 | 
			
		||||
 | 
			
		||||
#ifndef OPENSSL_NO_EC
 | 
			
		||||
    case SSL_kECDHE:
 | 
			
		||||
    case SSL_kECDHEPSK:
 | 
			
		||||
        if (msglen < 1)
 | 
			
		||||
@@ -1093,6 +1094,7 @@ static int ssl_print_server_keyex(BIO *bio, int indent, SSL *ssl,
 | 
			
		||||
            return 0;
 | 
			
		||||
        }
 | 
			
		||||
        break;
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
    case SSL_kPSK:
 | 
			
		||||
    case SSL_kRSAPSK:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user