added pts_dh_group_error_create() and pts_dh_nonce_error_create()