Skip to content

Commit

Permalink
Add some missing symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
dgn committed May 16, 2024
1 parent 4f05e27 commit e7643f2
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bssl-compat/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,12 @@ target_add_bssl_function(bssl-compat
EC_KEY_new_by_curve_name
EC_KEY_free
EC_KEY_get0_group
EC_KEY_get0_private_key
EC_KEY_set_public_key
EC_KEY_set_private_key
EC_POINT_free
EC_POINT_mul
EC_POINT_new
ECDSA_size
ECDSA_SIG_free
ECDSA_SIG_get0
Expand Down
2 changes: 2 additions & 0 deletions bssl-compat/patch/include/openssl/base.h.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,11 @@ uncomment.sh "$1" --comment -h \
--uncomment-typedef-redef BIGNUM \
--uncomment-typedef-redef BUF_MEM \
--uncomment-typedef-redef BIO \
--uncomment-typedef-redef BN_CTX \
--uncomment-typedef-redef BN_GENCB \
--uncomment-typedef-redef EC_GROUP \
--uncomment-typedef-redef EC_KEY \
--uncomment-typedef-redef EC_POINT \
--uncomment-typedef-redef ENGINE \
--uncomment-typedef-redef EVP_MD_CTX --sed 's/ossl_env_md_ctx_st/ossl_evp_md_ctx_st/' \
--uncomment-typedef-redef EVP_MD --sed 's/ossl_env_md_st/ossl_evp_md_st/' \
Expand Down
3 changes: 3 additions & 0 deletions bssl-compat/patch/include/openssl/ec.h.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ uncomment.sh "$1" --comment -h \
--uncomment-func-decl EC_GROUP_get0_order \
--uncomment-func-decl EC_GROUP_get_curve_name \
--uncomment-func-decl EC_GROUP_get_degree \
--uncomment-func-decl EC_POINT_free \
--uncomment-func-decl EC_POINT_new \
--uncomment-func-decl EC_POINT_mul \
--uncomment-macro-redef 'EC_R_[[:alnum:]_]*'
3 changes: 3 additions & 0 deletions bssl-compat/patch/include/openssl/ec_key.h.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,8 @@ uncomment.sh "$1" --comment -h \
--uncomment-func-decl EC_KEY_get0_group \
--uncomment-func-decl EC_KEY_parse_private_key \
--uncomment-func-decl EC_KEY_new_by_curve_name \
--uncomment-func-decl EC_KEY_set_public_key \
--uncomment-func-decl EC_KEY_set_public_key_affine_coordinates \
--uncomment-func-decl EC_KEY_set_private_key \
--uncomment-func-decl EC_KEY_get0_private_key \
--uncomment-regex 'BORINGSSL_MAKE_DELETER(EC_KEY'

0 comments on commit e7643f2

Please sign in to comment.