[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wget2 | Several OCSP improvements (!513)
From: |
Ander Juaristi (@juaristi) |
Subject: |
Re: wget2 | Several OCSP improvements (!513) |
Date: |
Fri, 30 Sep 2022 13:43:38 +0000 |
Ander Juaristi commented on a discussion on libwget/ssl_openssl.c:
https://gitlab.com/gnuwget/wget2/-/merge_requests/513#note_1120632321
> return NULL;
> }
>
> +static X509 *find_issuer_cert(const STACK_OF(X509) *certs, const X509
> *subject, unsigned starting_idx)
> +{
> + unsigned cert_chain_size;
> +
> + /* Try with the next cert first */
> + X509 *candidate = sk_X509_value(certs, starting_idx + 1);
> + if (!candidate)
I've rewritten the function as per you (pseudo-)code. I think it's better like
that.
--
Reply to this email directly or view it on GitLab:
https://gitlab.com/gnuwget/wget2/-/merge_requests/513#note_1120632321
You're receiving this email because of your account on gitlab.com.
- wget2 | Several OCSP improvements (!513), Ander Juaristi (@juaristi), 2022/09/24
- Re: wget2 | Several OCSP improvements (!513), @rockdaboot, 2022/09/25
- Re: wget2 | Several OCSP improvements (!513), @rockdaboot, 2022/09/25
- Re: wget2 | Several OCSP improvements (!513), @rockdaboot, 2022/09/25
- Re: wget2 | Several OCSP improvements (!513), Ander Juaristi (@juaristi), 2022/09/30
- Re: wget2 | Several OCSP improvements (!513), Ander Juaristi (@juaristi), 2022/09/30