diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2012-10-01 12:48:54 +0000 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2012-10-01 12:48:54 +0000 |
| commit | 872563a64d8d0952a3b9f058cd763440421427c7 (patch) | |
| tree | adc08c30d6a74ba0835f96a0d46f661a04b497dc /src/core/nginx.h | |
| parent | 74ad4494a66d7ea5201c37f6628707404df723fe (diff) | |
| download | nginx-872563a64d8d0952a3b9f058cd763440421427c7.tar.gz nginx-872563a64d8d0952a3b9f058cd763440421427c7.tar.bz2 | |
OCSP stapling: check Content-Type.
This will result in better error message in case of incorrect response
from OCSP responder:
... OCSP responder sent invalid "Content-Type" header: "text/plain"
while requesting certificate status, responder: ...
vs.
... d2i_OCSP_RESPONSE() failed (SSL:
error:0D07209B:asn1 encoding routines:ASN1_get_object:too long
error:0D068066:asn1 encoding routines:ASN1_CHECK_TLEN:bad object header
error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error)
while requesting certificate status, responder: ...
Diffstat (limited to 'src/core/nginx.h')
0 files changed, 0 insertions, 0 deletions
