set_algorithms method not needed
authorAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 18 Aug 2011 12:48:50 +0000 (14:48 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 8 Sep 2011 10:08:10 +0000 (12:08 +0200)
src/libimcv/tcg/tcg_pts_attr_meas_algo.c
src/libimcv/tcg/tcg_pts_attr_meas_algo.h

index b12a83d..19a998e 100644 (file)
@@ -150,13 +150,6 @@ METHOD(tcg_pts_attr_meas_algo_t, get_algorithms, pts_meas_algorithms_t,
        return this->algorithms;
 }
 
        return this->algorithms;
 }
 
-METHOD(tcg_pts_attr_meas_algo_t, set_algorithms, void,
-       private_tcg_pts_attr_meas_algo_t *this,
-       pts_meas_algorithms_t algorithms)
-{
-       this->algorithms = algorithms;
-}
-
 /**
  * Described in header.
  */
 /**
  * Described in header.
  */
@@ -178,7 +171,6 @@ pa_tnc_attr_t *tcg_pts_attr_meas_algo_create(pts_meas_algorithms_t algorithms,
                                .destroy = _destroy,
                        },
                        .get_algorithms = _get_algorithms,
                                .destroy = _destroy,
                        },
                        .get_algorithms = _get_algorithms,
-                       .set_algorithms = _set_algorithms,
                },
                .vendor_id = PEN_TCG,
                .type = selection ? TCG_PTS_MEAS_ALGO_SELECTION : TCG_PTS_MEAS_ALGO,
                },
                .vendor_id = PEN_TCG,
                .type = selection ? TCG_PTS_MEAS_ALGO_SELECTION : TCG_PTS_MEAS_ALGO,
@@ -210,7 +202,6 @@ pa_tnc_attr_t *tcg_pts_attr_meas_algo_create_from_data(chunk_t data,
                                .destroy = _destroy,
                        },
                        .get_algorithms = _get_algorithms,
                                .destroy = _destroy,
                        },
                        .get_algorithms = _get_algorithms,
-                       .set_algorithms = _set_algorithms,
                },
                .vendor_id = PEN_TCG,
                .type = selection ? TCG_PTS_MEAS_ALGO_SELECTION : TCG_PTS_MEAS_ALGO,
                },
                .vendor_id = PEN_TCG,
                .type = selection ? TCG_PTS_MEAS_ALGO_SELECTION : TCG_PTS_MEAS_ALGO,
index d4cc8a1..95a5825 100644 (file)
@@ -45,14 +45,6 @@ struct tcg_pts_attr_meas_algo_t {
         */
        pts_meas_algorithms_t (*get_algorithms)(tcg_pts_attr_meas_algo_t *this);
 
         */
        pts_meas_algorithms_t (*get_algorithms)(tcg_pts_attr_meas_algo_t *this);
 
-       /**
-        * Set PTS Measurement Algorithm Set
-        *
-        * @param flags                 set of algorithms
-        */
-       void (*set_algorithms)(tcg_pts_attr_meas_algo_t *this, 
-                                                  pts_meas_algorithms_t algorithms);
-       
 };
 
 /**
 };
 
 /**