Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

hopefully should fix x509 built without ecdsa

  • Loading branch information...
commit 988ecc26edf397abf82dca7217a0f6234b7cf4aa 1 parent 318168a
@dekz authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  src/dx509.cc
View
2  src/dx509.cc
@@ -135,10 +135,12 @@ Handle<Value> DX509::parseCert(const Arguments &args) {
RSA_free(rsa);
} else if (pkey->type == EVP_PKEY_EC) {
+#ifndef WITH_ECDSA
EC_KEY *ec_key = EVP_PKEY_get1_EC_KEY(pkey);
pub_str = String::New("");
EC_KEY_free(ec_key);
+#endif
} else {
pub_str = String::New("");
}
Please sign in to comment.
Something went wrong with that request. Please try again.