      V(USER)                                                                   \
  
  #define V(name) case ERR_LIB_##name: lib = #name "_"; break;
-@@ -2560,8 +2550,11 @@ void SSLWrap<Base>::GetEphemeralKeyInfo(
-             .Check();
-         break;
-       case EVP_PKEY_EC:
-+      // FIXME(zcbenz): This is not available in BoringSSL.
-+#ifndef OPENSSL_IS_BORINGSSL
-       case EVP_PKEY_X25519:
-       case EVP_PKEY_X448:
-+#endif
-         {
-           const char* curve_name;
-           if (kid == EVP_PKEY_EC) {
-@@ -3909,12 +3902,15 @@ Local<Value> KeyObject::GetAsymmetricKeyType() const {
-     return env()->crypto_ec_string();
-   case EVP_PKEY_ED25519:
-     return env()->crypto_ed25519_string();
-+  // FIXME(zcbenz): This is not available in BoringSSL.
-+#ifndef OPENSSL_IS_BORINGSSL
-   case EVP_PKEY_ED448:
-     return env()->crypto_ed448_string();
-   case EVP_PKEY_X25519:
-     return env()->crypto_x25519_string();
-   case EVP_PKEY_X448:
-     return env()->crypto_x448_string();
-+#endif
-   default:
-     return Undefined(env()->isolate());
-   }
-@@ -6552,6 +6548,8 @@ class DSAKeyPairGenerationConfig : public KeyPairGenerationConfig {
+@@ -6552,6 +6542,8 @@ class DSAKeyPairGenerationConfig : public KeyPairGenerationConfig {
      if (EVP_PKEY_paramgen_init(param_ctx.get()) <= 0)
        return nullptr;
  

     if (EVP_PKEY_CTX_set_dsa_paramgen_bits(param_ctx.get(), modulus_bits_) <= 0)
       return nullptr;
 
@@ -6571,6 +6569,8 @@ class DSAKeyPairGenerationConfig : public KeyPairGenerationConfig {
 
     EVPKeyCtxPointer key_ctx(EVP_PKEY_CTX_new(params.get(), nullptr));
     return key_ctx;

   }
 
  private:
