Univention Bugzilla – Attachment 10960 Details for
Bug 54834
univention-certificate dump -id returns wrong/multiple IDs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
make-certificates.sh.patch
make-certificates.sh.patch (text/plain), 664 bytes, created by
Nico Stöckigt
on 2022-06-14 16:20:57 CEST
(
hide
)
Description:
make-certificates.sh.patch
Filename:
MIME Type:
Creator:
Nico Stöckigt
Created:
2022-06-14 16:20:57 CEST
Size:
664 bytes
patch
obsolete
>--- make-certificates_old.sh 2022-06-09 10:51:34.133107778 +0200 >+++ make-certificates_new.sh 2022-06-14 16:17:45.342341537 +0200 >@@ -346,7 +346,7 @@ > > get_cert_name_from_id () { > if ! [ -z "$1" ]; then >- list_cert_names_all | awk -v id="$1" '$1 == id {print $2}' >+ list_cert_names_all | awk -v id="$1" '("x" id)==("x" $1) {print $2}' # see Bug#54834 > fi > } > >@@ -361,7 +361,7 @@ > local id="${1:?Missing argument: number}" > tac "${SSLBASE}/${CA}/index.txt" | awk -F '\t' -v id="$id" -v now="$(TZ=UTC date +%y%m%d%H%M%S)" ' > BEGIN { ret=1; } >- $4 == id { >+ ("x" $4)==("x" id) { > ret = ( $1 != "R" ) ? ( $1 == "V" && $2 >= now ? 0 : 3 ) : 2; > exit; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 54834
:
10959
| 10960