]> git.ipfire.org Git - thirdparty/openssl.git/commit
util/fix-deprecation: DEPRECATEDIN conversion util for public headers
authorRichard Levitte <levitte@openssl.org>
Sun, 25 Oct 2020 06:09:04 +0000 (07:09 +0100)
committerRichard Levitte <levitte@openssl.org>
Fri, 20 Nov 2020 19:55:03 +0000 (20:55 +0100)
commit5053394aa6bc989e1ce8f0e47578c691aee6aa47
tree981bb8e78f37b482dfcc968069c6bfafb0c0754b
parentf87ead980187ba39c66eb6ed5825603ea343b73f
util/fix-deprecation: DEPRECATEDIN conversion util for public headers

Use this for quick and easy conversion of old-style to new-style deprecation:

    perl util/fix-deprecation \
         < include/openssl/rsa.h > include/openssl/rsa.h.new
    mv include/openssl/rsa.h.new include/openssl/rsa.h

This is not a perfect utility, but it does the job.  It doesn't try to
re-indent, that's left for manual post processing.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13239)
util/fix-deprecation [new file with mode: 0644]