Fix util/mkdef.pl
authorRichard Levitte <levitte@openssl.org>
Thu, 6 Apr 2017 12:11:19 +0000 (14:11 +0200)
committerRichard Levitte <levitte@openssl.org>
Mon, 10 Apr 2017 10:11:00 +0000 (12:11 +0200)
commitf120fa1efe6377850d1ecd389a02e0e2241912bc
treeb425c25d983b2ee91a513884bcdd3de24d79e708
parente361a7b285f954aead44f70f0dde35e120e1e0b3
Fix util/mkdef.pl

The deprecation checking code here didn't work the same way as in
Configure, and used $config{options} to find an --api= option that
was never there.  This is replaced with checking $config{api}, which
is the controlling variable for deprecation.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3126)
util/mkdef.pl