summaryrefslogtreecommitdiffstats
path: root/util/perl
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2019-01-20 13:14:58 +0100
committerRichard Levitte <levitte@openssl.org>2019-03-11 20:40:13 +0100
commit4c2883a9bf59c5ee31e8e2e101b3894a16c06950 (patch)
tree5a46bea7ea5815cfa540b0ca81d2a063c9a27aea /util/perl
parent3f4e8d6604842db4f416d029e9bbeddf90976c00 (diff)
Replumbing: Add the Provider Object, type OSSL_PROVIDER
The OSSL_PROVIDER is the core object involved in loading a provider module, initialize a provider and do the initial communication of provider wide and core wide dispatch tables. Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/8287)
Diffstat (limited to 'util/perl')
-rw-r--r--util/perl/OpenSSL/ParseC.pm9
1 files changed, 9 insertions, 0 deletions
diff --git a/util/perl/OpenSSL/ParseC.pm b/util/perl/OpenSSL/ParseC.pm
index 7a13930d1a..59b08e8dca 100644
--- a/util/perl/OpenSSL/ParseC.pm
+++ b/util/perl/OpenSSL/ParseC.pm
@@ -578,6 +578,15 @@ my @chandlers = (
{ regexp => qr/extern "C" (.*;)/,
massager => sub { return ($1); },
},
+ # any other extern is just ignored
+ { regexp => qr/^\s* # Any spaces before
+ extern # The keyword we look for
+ \b # word to non-word boundary
+ .* # Anything after
+ ;
+ /x,
+ massager => sub { return (); },
+ },
# union, struct and enum definitions
# Because this one might appear a little everywhere within type
# definitions, we take it out and replace it with just