cosmetics
authorAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 18 Aug 2011 12:56:00 +0000 (14:56 +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

index 19a998e..3ef4c11 100644 (file)
@@ -35,7 +35,7 @@ typedef struct private_tcg_pts_attr_meas_algo_t private_tcg_pts_attr_meas_algo_t
  */
 
 #define PTS_MEAS_ALGO_SIZE             4
  */
 
 #define PTS_MEAS_ALGO_SIZE             4
-#define PTS_MEAS_ALGO_RESERVED 0x00
+#define PTS_MEAS_ALGO_RESERVED 0x0000
 
 /**
  * Private data of an tcg_pts_attr_meas_algo_t object.
 
 /**
  * Private data of an tcg_pts_attr_meas_algo_t object.
@@ -110,7 +110,7 @@ METHOD(pa_tnc_attr_t, build, void,
        bio_writer_t *writer;
 
        writer = bio_writer_create(PTS_MEAS_ALGO_SIZE);
        bio_writer_t *writer;
 
        writer = bio_writer_create(PTS_MEAS_ALGO_SIZE);
-       writer->write_uint16 (writer, PTS_MEAS_ALGO_RESERVED);
+       writer->write_uint16(writer, PTS_MEAS_ALGO_RESERVED);
        writer->write_uint16(writer, this->algorithms);
        this->value = chunk_clone(writer->get_buf(writer));
        writer->destroy(writer);
        writer->write_uint16(writer, this->algorithms);
        this->value = chunk_clone(writer->get_buf(writer));
        writer->destroy(writer);
@@ -129,7 +129,7 @@ METHOD(pa_tnc_attr_t, process, status_t,
                return FAILED;
        }
        reader = bio_reader_create(this->value);
                return FAILED;
        }
        reader = bio_reader_create(this->value);
-       reader->read_uint16 (reader, &reserved);
+       reader->read_uint16(reader, &reserved);
        reader->read_uint16(reader, &algorithms);
        this->algorithms = algorithms;
        reader->destroy(reader);
        reader->read_uint16(reader, &algorithms);
        this->algorithms = algorithms;
        reader->destroy(reader);