Skip to content

Commit 9f96cb1

Browse files
committed
fixup! Add custom derive test with Explicit EC
1 parent 94505a1 commit 9f96cb1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/setup.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -378,9 +378,9 @@ else
378378
ECXCRTN="ecExplicitCert"
379379

380380
ptool --write-object="${TESTSSRCDIR}/explicit_ec.key.der" --type=privkey \
381-
--id="$KEYID" --label="${ECXCRTN}" 2>&1
381+
--id="$KEYID" --label="${ECXCRTN}" --usage-sign --usage-derive 2>&1
382382
ptool --write-object="${TESTSSRCDIR}/explicit_ec.pub.der" --type=pubkey \
383-
--id="$KEYID" --label="${ECXCRTN}" 2>&1
383+
--id="$KEYID" --label="${ECXCRTN}" -usage-sign --usage-derive 2>&1
384384

385385
ECXBASEURIWITHPINVALUE="pkcs11:id=${URIKEYID}?pin-value=${PINVALUE}"
386386
ECXBASEURIWITHPINSOURCE="pkcs11:id=${URIKEYID}?pin-source=file:${PINFILE}"

0 commit comments

Comments
 (0)