Thanks, applied as 6c024da4d92217c468983d4a8bd8c3e252d36af8.

Michael

[sent from post-receive hook]

On Tue, 19 May 2020 14:23:38 +0200, Bastian Krause <b...@pengutronix.de> wrote:
> Signed-off-by: Bastian Krause <b...@pengutronix.de>
> Message-Id: <20200515142641.812-3-...@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbr...@pengutronix.de>
> 
> diff --git a/scripts/lib/ptxd_lib_code_signing.sh 
> b/scripts/lib/ptxd_lib_code_signing.sh
> index 588a4b1b44fa..f93f183df8e8 100644
> --- a/scripts/lib/ptxd_lib_code_signing.sh
> +++ b/scripts/lib/ptxd_lib_code_signing.sh
> @@ -154,7 +154,11 @@ cs_get_uri() {
>       if [ ${#FUNCNAME[*]} -gt 1 ]; then
>           ptxd_bailout "No PKCS#11 URI for role ${role}"
>       else
> -         # ignore the error if cs_get_uri is called directly from make
> +         # cs_get_uri was called directly from make prior to cs_set_uri,
> +         # which may not be an error if it is evaluated early *and* later
> +         # again - return a unique error string in case it is not expected
> +         # and a user stumbles upon this
> +         echo "ERROR_URI_NOT_YET_SET"
>           return
>       fi
>      fi

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to