lua-resty-openssl icon indicating copy to clipboard operation
lua-resty-openssl copied to clipboard

API change in OpenSSL 3.x

Open fffonion opened this issue 2 years ago • 0 comments

https://www.openssl.org/docs/manmaster/man7/migration_guide.html

  • [x] Library context (for non-global provider)

  • [ ] EVP_PKEY_get_x_params to replace TYPE_get0_PRARM, EVP_PKEY_fromdata to replace TYPE_set0_x (pkey:get_parameters/pkey:set_parameters)

    • [ ] RSA_get0_x, RSA_set0_x
    • [ ] DH_get0_x
    • [ ] EC_KEY_get0_x, EC_KEY_set0_x
  • [ ] EVP_PKEY_new to replace TYPE_new (load_jwk)

    • [ ] RSA_new
    • [ ] EC_KEY_new
    • [ ] DH_new_by_id
  • [ ] EVP_PKEY_from_data to replace EVP_PKEY_assign (load_jwk)

  • [x] BN_check_prime to replace BN_is_prime_ex

  • [ ] EC_POINT_bn2point, EC_POINT_point2bn were not particularly useful, since EC point serialization formats are not individual big-endian integers. (load_jwk)

  • [ ] EC_POINT_get_affine_coordinates to replace EC_POINT_get_affine_coordinates_x (dump_jwk)

  • [x] ERR_get_error_line, ERR_peek_last_error_line?

fffonion avatar Aug 27 '21 21:08 fffonion