Skip to content

Commit

Permalink
Merge pull request h2o#22 from tatsuhiro-t/fix-ec-key-operation-not-s…
Browse files Browse the repository at this point in the history
…upported

Fix EC_KEY operation not supported error with OpenSSL 1.1.1
  • Loading branch information
kazuho authored Sep 20, 2018
2 parents c179c0b + ff12328 commit 941ee40
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions neverbleed.c
Original file line number Diff line number Diff line change
Expand Up @@ -1416,8 +1416,6 @@ int neverbleed_init(neverbleed_t *nb, char *errbuf)
ecdsa_default_method = EC_KEY_get_default_method();
ecdsa_method = EC_KEY_METHOD_new(ecdsa_default_method);

EC_KEY_METHOD_set_keygen(ecdsa_method, NULL);
EC_KEY_METHOD_set_compute_key(ecdsa_method, NULL);
/* it seems sign_sig and sign_setup is not used in TLS ECDSA. */
EC_KEY_METHOD_set_sign(ecdsa_method, ecdsa_sign_proxy, NULL, NULL);
EC_KEY_METHOD_set_init(ecdsa_method, NULL, priv_ecdsa_finish, NULL, NULL, NULL, NULL);
Expand Down

0 comments on commit 941ee40

Please sign in to comment.