Home
last modified time | relevance | path

Searched hist:"559 eb8b79afb03a3840b90f5070df692a693de05" (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/tools/cert_create/src/
H A Dext.c559eb8b79afb03a3840b90f5070df692a693de05 Mon Feb 06 10:00:11 UTC 2017 Masahiro Yamada <yamada.masahiro@socionext.com> cert_create: merge successive i2d_ASN1_INTEGER() calls

The ext_new_nvcounter() function calls i2d_ASN1_INTEGER() twice;
the first call to get the return value "sz", and the second one
for writing data into the buffer. This is actually redundant.
We can do both by one function call.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>