Remove native PKCS#11 support
The native PKCS#11 support has been removed in favour of better maintained, more performance and easier to use OpenSSL PKCS#11 engine from the OpenSC project.
This commit is contained in:
@@ -3366,12 +3366,6 @@ do
|
||||
;;
|
||||
15|16)
|
||||
key1=$($KEYGEN -a "$alg" -n zone "$zone" 2> "keygen-$alg.err" || true)
|
||||
# Soft-fail in case HSM doesn't support Edwards curves
|
||||
if grep "not found" "keygen-$alg.err" > /dev/null && [ "$CRYPTO" = "pkcs11" ]; then
|
||||
echo_i "Algorithm $alg not supported by HSM: skipping"
|
||||
alg=$((alg+1))
|
||||
continue
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
key1=$($KEYGEN -a "$alg" -n zone "$zone" 2> "keygen-$alg.err" || true)
|
||||
|
||||
Reference in New Issue
Block a user