implemented boxing commands according to TR-03119
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
#include <eac/pace.h>
|
||||
#include <libopensc/log.h>
|
||||
#include <libopensc/opensc.h>
|
||||
#include <npa/boxing.h>
|
||||
#include <npa/iso-sm.h>
|
||||
#include <npa/npa.h>
|
||||
#include <npa/scutil.h>
|
||||
@@ -376,6 +377,10 @@ main (int argc, char **argv)
|
||||
exit(1);
|
||||
}
|
||||
|
||||
#ifndef DISABLE_GLOBAL_BOXING_INITIALIZATION
|
||||
sc_initialize_boxing_cmds(ctx);
|
||||
#endif
|
||||
|
||||
if (cmdline.break_flag) {
|
||||
/* The biggest buffer sprintf could write with "%llu" */
|
||||
char secretbuf[strlen("18446744073709551615")+1];
|
||||
|
||||
Reference in New Issue
Block a user