]> granicus.if.org Git - openssl/commitdiff
A few more long symbols need shortening.
authorRichard Levitte <levitte@openssl.org>
Sun, 20 Mar 2011 10:23:51 +0000 (10:23 +0000)
committerRichard Levitte <levitte@openssl.org>
Sun, 20 Mar 2011 10:23:51 +0000 (10:23 +0000)
crypto/symhacks.h

index 7c36fe22dba9c3a5b24cb400a789d59a0309774b..98e06b43003ac5016f851c366ad1524ab8e1b31d 100644 (file)
 #define ssl_parse_clienthello_renegotiate_ext  ssl_parse_clienthello_reneg_ext
 #undef ssl_parse_serverhello_renegotiate_ext
 #define ssl_parse_serverhello_renegotiate_ext  ssl_parse_serverhello_reneg_ext
+#undef SSL_srp_server_param_with_username
+#define SSL_srp_server_param_with_username     SSL_srp_server_param_with_un
+#undef SSL_CTX_set_srp_client_pwd_callback
+#define SSL_CTX_set_srp_client_pwd_callback    SSL_CTX_set_srp_client_pwd_cb
+#undef SSL_CTX_set_srp_verify_param_callback
+#define SSL_CTX_set_srp_verify_param_callback  SSL_CTX_set_srp_vfy_param_cb
+#undef SSL_CTX_set_srp_username_callback
+#define SSL_CTX_set_srp_username_callback      SSL_CTX_set_srp_un_cb
+#undef SSL_CTX_set_srp_missing_srp_username_callback
+#define SSL_CTX_set_srp_missing_srp_username_callback \
+                                               SSL_CTX_set_srp_miss_srp_un_cb
 
 /* Hack some long ENGINE names */
 #undef ENGINE_get_default_BN_mod_exp_crt
 #define EC_GROUP_get_point_conversion_form     EC_GROUP_get_point_conv_form
 #undef EC_GROUP_clear_free_all_extra_data
 #define EC_GROUP_clear_free_all_extra_data     EC_GROUP_clr_free_all_xtra_data
+#undef EC_KEY_set_public_key_affine_coordinates
+#define EC_KEY_set_public_key_affine_coordinates \
+                                               EC_KEY_set_pub_key_aff_coords
 #undef EC_POINT_set_Jprojective_coordinates_GFp
 #define EC_POINT_set_Jprojective_coordinates_GFp \
                                                 EC_POINT_set_Jproj_coords_GFp
 #undef dtls1_retransmit_buffered_messages
 #define dtls1_retransmit_buffered_messages     dtls1_retransmit_buffered_msgs
 
+/* Hack some long SRP names */
+#undef SRP_generate_server_master_secret
+#define SRP_generate_server_master_secret      SRP_gen_server_master_secret
+#undef SRP_generate_client_master_secret
+#define SRP_generate_client_master_secret      SRP_gen_client_master_secret
+
 /* Hack some long UI names */
 #undef UI_method_get_prompt_constructor
 #define UI_method_get_prompt_constructor       UI_method_get_prompt_constructr