mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 07:38:19 +00:00
change validation return value from count to int. Scripts already had been updated, I forgot the function returns..
This commit is contained in:
parent
c7599befb9
commit
2c35bcf709
1 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ RecordVal* x509_error_record(uint64_t num, const char* reason)
|
|||
{
|
||||
RecordVal* rrecord = new RecordVal(BifType::Record::X509::Result);
|
||||
|
||||
rrecord->Assign(0, new Val(num, TYPE_COUNT));
|
||||
rrecord->Assign(0, new Val(num, TYPE_INT));
|
||||
rrecord->Assign(1, new StringVal(reason));
|
||||
|
||||
return rrecord;
|
||||
|
@ -425,7 +425,7 @@ x509_verify_chainerror:
|
|||
|
||||
RecordVal* rrecord = new RecordVal(BifType::Record::X509::Result);
|
||||
|
||||
rrecord->Assign(0, new Val((uint64) csc.error, TYPE_COUNT));
|
||||
rrecord->Assign(0, new Val((uint64) csc.error, TYPE_INT));
|
||||
rrecord->Assign(1, new StringVal(X509_verify_cert_error_string(csc.error)));
|
||||
|
||||
if ( chainVector )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue