Fix a mkdef.pl warning
authorMatt Caswell <matt@openssl.org>
Fri, 26 Feb 2016 14:10:17 +0000 (14:10 +0000)
committerMatt Caswell <matt@openssl.org>
Fri, 26 Feb 2016 15:01:17 +0000 (15:01 +0000)
commitd9706f1964ffbfcfe700cfeb59605465b309013a
tree39e2436deb706860e3e1fcc5cc4f72dc9560da8e
parent0f2d3e4e4e88e92998329aab0fd912d89dc4a836
Fix a mkdef.pl warning

mkdef.pl was issuing the following error:

 Use of uninitialized value within %tag in numeric eq (==) at
 util/mkdef.pl line 560, <IN> line 92

This was because it was treating a __cplusplus "#ifdef" check as a "tag"
but then skipping over the corresponding "#endif". Therefore after
processing a file it still had "left over" tags from processing the
previous file. It was also getting confused by "#if" checks that didn't
match is pre-defined styles.

Reviewed-by: Richard Levitte <levitte@openssl.org>
util/mkdef.pl