strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Copy just 20 bytes of pcr after value
[strongswan.git]
/
src
/
libimcv
/
plugins
/
imv_attestation
/
imv_attestation_process.c
diff --git
a/src/libimcv/plugins/imv_attestation/imv_attestation_process.c
b/src/libimcv/plugins/imv_attestation/imv_attestation_process.c
index
a097aba
..
569033a
100644
(file)
--- a/
src/libimcv/plugins/imv_attestation/imv_attestation_process.c
+++ b/
src/libimcv/plugins/imv_attestation/imv_attestation_process.c
@@
-264,7
+264,7
@@
bool imv_attestation_process(pa_tnc_attr_t *attr, linked_list_t *attr_list,
entry = malloc_thing(pcr_entry_t);
entry->pcr_number = extended_pcr;
- str
cpy(entry->pcr_value, pcr_after.ptr
);
+ str
ncpy(entry->pcr_value, pcr_after.ptr, PCR_LEN
);
pts->add_pcr_entry(pts, entry);
}