mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00
OCSP: a bunch of whitespace fixes
This commit is contained in:
parent
b021fe7562
commit
9c6cebf324
5 changed files with 17 additions and 17 deletions
|
@ -555,7 +555,7 @@ x509_verify_chainerror:
|
||||||
## x509_ext_subject_alternative_name x509_parse
|
## x509_ext_subject_alternative_name x509_parse
|
||||||
## x509_get_certificate_string x509_verify
|
## x509_get_certificate_string x509_verify
|
||||||
function x509_issuer_name_hash%(cert: opaque of x509, hash_alg: string%): string
|
function x509_issuer_name_hash%(cert: opaque of x509, hash_alg: string%): string
|
||||||
%{
|
%{
|
||||||
assert(cert);
|
assert(cert);
|
||||||
assert(hash_alg);
|
assert(hash_alg);
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
##
|
##
|
||||||
## .. bro:see:: ssl_stapled_ocsp ocsp_parse_request
|
## .. bro:see:: ssl_stapled_ocsp ocsp_parse_request
|
||||||
function ocsp_parse_response%(ocsp_reply: string%): OCSP::Response
|
function ocsp_parse_response%(ocsp_reply: string%): OCSP::Response
|
||||||
%{
|
%{
|
||||||
const unsigned char* start = ocsp_reply->Bytes();
|
const unsigned char* start = ocsp_reply->Bytes();
|
||||||
OCSP_RESPONSE *resp = NULL;
|
OCSP_RESPONSE *resp = NULL;
|
||||||
file_analysis::OCSP_RESPVal* resp_val = NULL;
|
file_analysis::OCSP_RESPVal* resp_val = NULL;
|
||||||
|
@ -43,7 +43,7 @@ function ocsp_parse_response%(ocsp_reply: string%): OCSP::Response
|
||||||
##
|
##
|
||||||
## .. bro:see:: ssl_stapled_ocsp ocsp_parse_response
|
## .. bro:see:: ssl_stapled_ocsp ocsp_parse_response
|
||||||
function ocsp_parse_request%(ocsp_req: string%): OCSP::Request
|
function ocsp_parse_request%(ocsp_req: string%): OCSP::Request
|
||||||
%{
|
%{
|
||||||
const unsigned char* start = ocsp_req->Bytes();
|
const unsigned char* start = ocsp_req->Bytes();
|
||||||
OCSP_REQUEST *req = NULL;
|
OCSP_REQUEST *req = NULL;
|
||||||
file_analysis::OCSP_REQVal* req_val = NULL;
|
file_analysis::OCSP_REQVal* req_val = NULL;
|
||||||
|
|
|
@ -841,7 +841,7 @@ int main(int argc, char** argv)
|
||||||
topk_type = new OpaqueType("topk");
|
topk_type = new OpaqueType("topk");
|
||||||
bloomfilter_type = new OpaqueType("bloomfilter");
|
bloomfilter_type = new OpaqueType("bloomfilter");
|
||||||
x509_opaque_type = new OpaqueType("x509");
|
x509_opaque_type = new OpaqueType("x509");
|
||||||
ocsp_req_opaque_type = new OpaqueType("ocsp_req");
|
ocsp_req_opaque_type = new OpaqueType("ocsp_req");
|
||||||
ocsp_resp_opaque_type = new OpaqueType("ocsp_resp");
|
ocsp_resp_opaque_type = new OpaqueType("ocsp_resp");
|
||||||
|
|
||||||
// The leak-checker tends to produce some false
|
// The leak-checker tends to produce some false
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue