mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
signing.bbclass: fix wrong function name
The function signing_import_pubkey_from_pem is defined twice, one of
them should really be named signing_import_pubkey_from_der. Fix this and
while at it fix some argument names in the comments above the functions
as well.
Reported-by: Miklos Toth <Miklos.Toth@knorr-bremse.com>
Fixes: 4a6ac691f ("add signing.bbclass as infrastructure for build artifact signing")
Signed-off-by: Sascha Hauer <sha@pengutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
b757ba3028
commit
30d1eb08b4
|
|
@ -142,10 +142,10 @@ signing_import_cert_from_pem() {
|
|||
signing_pkcs11_tool --type cert --write-object /proc/self/fd/0 --label "${role}"
|
||||
}
|
||||
|
||||
# signing_import_pubkey_from_der <role> <pem>
|
||||
# signing_import_pubkey_from_der <role> <der>
|
||||
#
|
||||
# Import a public key from DER file to a role. To be used with SoftHSM.
|
||||
signing_import_pubkey_from_pem() {
|
||||
signing_import_pubkey_from_der() {
|
||||
local role="${1}"
|
||||
local der="${2}"
|
||||
|
||||
|
|
@ -171,7 +171,7 @@ signing_import_pubkey_from_pem() {
|
|||
signing_pkcs11_tool --type pubkey --write-object /proc/self/fd/0 --label "${role}"
|
||||
}
|
||||
|
||||
# signing_import_privkey_from_der <role> <pem>
|
||||
# signing_import_privkey_from_der <role> <der>
|
||||
#
|
||||
# Import a private key from DER file to a role. To be used with SoftHSM.
|
||||
signing_import_privkey_from_der() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user