- /* The check_issuer_sanity() function works fine as a workaround where
- it was used above, but when gnutls_certificate_get_issuer() returns
- a bogus cert, there's nothing we can do to fix it up. We don't get
- to iterate over all the available certs like we can over our own
- list. */
- if (check_issuer_sanity(last_cert, issuer)) {
- /* Hm, is there a bug reference for this? Or just the git commit
- reference (c1ef7efb in master, 5196786c in gnutls_3_0_x-2)? */
- vpn_progress(vpninfo, PRG_ERR,
- _("WARNING: GnuTLS returned incorrect issuer certs; authentication may fail!\n"));
- break;
+ /* The check_issuer_sanity() function works fine as a workaround where
+ it was used above, but when gnutls_certificate_get_issuer() returns
+ a bogus cert, there's nothing we can do to fix it up. We don't get
+ to iterate over all the available certs like we can over our own
+ list. */
+ if (check_issuer_sanity(last_cert, issuer)) {
+ /* Hm, is there a bug reference for this? Or just the git commit
+ reference (c1ef7efb in master, 5196786c in gnutls_3_0_x-2)? */
+ vpn_progress(vpninfo, PRG_ERR,
+ _("WARNING: GnuTLS returned incorrect issuer certs; authentication may fail!\n"));
+ break;
+ }