Commented compiler options Wall Werror for Makefile
Corrected bit 0 for AIK flags to be least significant bit
This commit is contained in:
committed by
Andreas Steffen
parent
1f3f3021d5
commit
78f1b194bb
@@ -25,7 +25,7 @@ libimcv_la_SOURCES = \
|
||||
tcg/tcg_pts_attr_get_aik.h tcg/tcg_pts_attr_get_aik.c \
|
||||
tcg/tcg_pts_attr_aik.h tcg/tcg_pts_attr_aik.c
|
||||
|
||||
CFLAGS = -Wall -Werror
|
||||
# CFLAGS = -Wall -Werror
|
||||
|
||||
SUBDIRS = .
|
||||
|
||||
|
||||
@@ -117,7 +117,7 @@ METHOD(pa_tnc_attr_t, build, void,
|
||||
|
||||
writer = bio_writer_create(PTS_AIK_SIZE);
|
||||
|
||||
if(this->naked_pub_aik) flags += 128;
|
||||
if(this->naked_pub_aik) flags += 1;
|
||||
writer->write_uint8 (writer, flags);
|
||||
writer->write_data(writer, this->aik);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user