Merge pull request #7670 from lpy4105/issue/fix-wrong-command-for-ec-key-files

Fix invalid commands for ec_x{25519,448}_{prv,pub}.{der,pem}
This commit is contained in:
Gilles Peskine 2023-06-06 20:56:52 +02:00 committed by GitHub
commit a5cd318137
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1168,32 +1168,32 @@ ec_x25519_prv.der:
$(OPENSSL) genpkey -algorithm X25519 -out $@ -outform DER
all_final += ec_x25519_prv.der
ec_x25519_pub.der: ec_x25519_pub.der
$(OPENSSL) pkey -in $< -inform DER -out $@ -outform DER
ec_x25519_pub.der: ec_x25519_prv.der
$(OPENSSL) pkey -in $< -inform DER -out $@ -outform DER -pubout
all_final += ec_x25519_pub.der
ec_x25519_prv.pem: ec_x25519_prv.pem
ec_x25519_prv.pem: ec_x25519_prv.der
$(OPENSSL) pkey -in $< -inform DER -out $@
all_final += ec_x25519_prv.pem
ec_x25519_pub.pem: ec_x25519_pub.pem
$(OPENSSL) pkey -in $< -inform DER -out $@
ec_x25519_pub.pem: ec_x25519_prv.der
$(OPENSSL) pkey -in $< -inform DER -out $@ -pubout
all_final += ec_x25519_pub.pem
ec_x448_prv.der:
$(OPENSSL) genpkey -algorithm X448 -out $@ -outform DER
all_final += ec_x448_prv.der
ec_x448_pub.der: ec_x448_pub.der
$(OPENSSL) pkey -in $< -inform DER -out $@ -outform DER
ec_x448_pub.der: ec_x448_prv.der
$(OPENSSL) pkey -in $< -inform DER -out $@ -outform DER -pubout
all_final += ec_x448_pub.der
ec_x448_prv.pem: ec_x448_prv.pem
ec_x448_prv.pem: ec_x448_prv.der
$(OPENSSL) pkey -in $< -inform DER -out $@
all_final += ec_x448_prv.pem
ec_x448_pub.pem: ec_x448_pub.pem
$(OPENSSL) pkey -in $< -inform DER -out $@
ec_x448_pub.pem: ec_x448_prv.der
$(OPENSSL) pkey -in $< -inform DER -out $@ -pubout
all_final += ec_x448_pub.pem
################################################################