Dont use status bits not available in v3.2.0
This commit is contained in:
parent
e021920813
commit
9acb0ccaa3
23
utils.c
23
utils.c
@ -846,29 +846,6 @@ _utils_cert_get_status_report(gnutls_x509_crt_t cert, unsigned int status,
|
|||||||
strncat(out, buf, size);
|
strncat(out, buf, size);
|
||||||
size -= strlen(buf);
|
size -= strlen(buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (status & GNUTLS_CERT_MISSING_OCSP_STATUS) {
|
|
||||||
snprintf(buf, sizeof(buf),
|
|
||||||
" %d. The certificate requires the server to send the certifiate\n"
|
|
||||||
" status, but no status was received.\n\n", i++);
|
|
||||||
strncat(out, buf, size);
|
|
||||||
size -= strlen(buf);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (status & GNUTLS_CERT_INVALID_OCSP_STATUS) {
|
|
||||||
snprintf(buf, sizeof(buf),
|
|
||||||
" %d. The received OCSP status response is invalid.\n\n", i++);
|
|
||||||
strncat(out, buf, size);
|
|
||||||
size -= strlen(buf);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (status & GNUTLS_CERT_UNKNOWN_CRIT_EXTENSIONS) {
|
|
||||||
snprintf(buf, sizeof(buf),
|
|
||||||
" %d. The certificate has extensions marked as critical which are\n"
|
|
||||||
" not supported.\n\n", i++);
|
|
||||||
strncat(out, buf, size);
|
|
||||||
size -= strlen(buf);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
Loading…
Reference in New Issue
Block a user