Commit d25aeabc authored by Ben Laurie's avatar Ben Laurie
Browse files

Don't use EC when no-ec.

parent 6c3b5664
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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: