[PATCH kmod v3 0/2] read pkcs7 signature with openssl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The same as before but with the test.

I found, that using _cleanup_() is more inconvenient, since it will
require wrappers for the types as for _cleanup_free().

Changelog:

v1->v2 no changes, just non-rfc
v2->v3 test added

Yauheni Kaliuta (2):
  testsuite: add modinfo pkcs7 signature test
  libkmod-signature: implement pkcs7 parsing with openssl

 Makefile.am                                   |   4 +-
 configure.ac                                  |  11 +
 libkmod/libkmod-internal.h                    |   3 +
 libkmod/libkmod-module.c                      |   3 +
 libkmod/libkmod-signature.c                   | 197 +++++++++++++++++-
 testsuite/module-playground/dummy.pkcs7       | Bin 0 -> 721 bytes
 testsuite/populate-modules.sh                 |   9 +
 .../test-modinfo/correct-sig_hashalgo.txt     |   2 +-
 .../test-modinfo/correct-sig_key.txt          |   2 +-
 .../test-modinfo/correct-signer.txt           |   2 +-
 testsuite/test-modinfo.c                      |   3 +-
 11 files changed, 227 insertions(+), 9 deletions(-)
 create mode 100644 testsuite/module-playground/dummy.pkcs7

-- 
2.20.1




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux