+ /* memcmp doesn't work here */
+ if ((proposals[i].encryption_algorithm == my_current_proposal->encryption_algorithm) &&
+ (proposals[i].encryption_algorithm_key_length == my_current_proposal->encryption_algorithm_key_length) &&
+ (proposals[i].integrity_algorithm == my_current_proposal->integrity_algorithm) &&
+ (proposals[i].integrity_algorithm_key_length == my_current_proposal->integrity_algorithm_key_length) &&
+ (proposals[i].pseudo_random_function == my_current_proposal->pseudo_random_function) &&
+ (proposals[i].pseudo_random_function_key_length == my_current_proposal->pseudo_random_function_key_length) &&
+ (proposals[i].diffie_hellman_group == my_current_proposal->diffie_hellman_group))