Fix dump-events - it cannot be used with ssl anymore, because openssl

does not give the same string results in all versions.

Add leak test for x509 verify and fix small leak (type).
This commit is contained in:
Bernhard Amann 2014-03-13 15:41:57 -07:00
parent 4da0718511
commit 3f52eeacda
7 changed files with 827 additions and 598 deletions

View file

@ -209,7 +209,7 @@ function x509_verify%(certs: x509_opaque_vector, root_certs: table_string_of_str
}
int num_certs = sk_X509_num(chain);
chainVector = new VectorVal(new VectorType(base_type(TYPE_ANY)));
chainVector = new VectorVal(internal_type("any_vec")->AsVectorType());
for ( int i = 0; i < num_certs; i++ )
{