Skip to content

Commit

Permalink
Increase the allowed stapling file size
Browse files Browse the repository at this point in the history
Some CA (like GlobalSign) have this problem
  • Loading branch information
kn007 committed Apr 4, 2020
1 parent 57773cb commit 0b83bc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Enable_BoringSSL_OCSP.patch
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ index 0bea5e7..334f1c2 100644
+
+ BIO *bio;
+ int len;
+ u_char buf[1024];
+ u_char buf[2048];
+
+ if (ngx_conf_full_name(cf->cycle, file, 1) != NGX_OK) {
+ return NGX_ERROR;
Expand All @@ -44,7 +44,7 @@ index 0bea5e7..334f1c2 100644
+ return NGX_ERROR;
+ }
+
+ if (len >= 1000) {
+ if (len >= 2000) {
+ ngx_ssl_error(NGX_LOG_EMERG, ssl->log, 0,
+ "Unexpected OCSP response file length: %d", len);
+ return NGX_ERROR;
Expand Down

0 comments on commit 0b83bc2

Please sign in to comment.