md: use 'store-or-update' store certificate mode
This commit is contained in:
parent
7784d24ee1
commit
72b5d8fe9a
|
@ -2124,6 +2124,7 @@ md_pkcs15_store_certificate(PCARD_DATA pCardData, char *file_name, unsigned char
|
|||
memset(&args, 0, sizeof(args));
|
||||
args.der_encoded.value = blob;
|
||||
args.der_encoded.len = len;
|
||||
args.update = 1;
|
||||
|
||||
/* use container's ID as ID of certificate to store */
|
||||
idx = -1;
|
||||
|
|
Loading…
Reference in New Issue