Browse Source

Free (ref-counted) private key.

v0.7.4-release
Tom Hughes 14 years ago
committed by Ryan Dahl
parent
commit
54b1f8028a
  1. 2
      src/node_crypto.cc

2
src/node_crypto.cc

@ -177,8 +177,8 @@ Handle<Value> SecureContext::SetKey(const Arguments& args) {
}
SSL_CTX_use_PrivateKey(sc->ctx_, key);
EVP_PKEY_free(key);
BIO_free(bio);
// XXX Free key?
return True();
}

Loading…
Cancel
Save