]> git.kaiwu.me - haproxy.git/commit
CLEANUP: Add missing header to ssl_utils.c
authorTim Duesterhus <tim@bastelstu.be>
Sat, 14 May 2022 20:15:26 +0000 (22:15 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 17 May 2022 09:40:33 +0000 (11:40 +0200)
commit2a0688aa8942af162450beb0b87c45d6945f47b4
tree7285742dfa105498838cbfbd37e627c1e75ba4df
parent1746a388c5aa93f5d19ee92fe5fe22eb20bde18b
CLEANUP: Add missing header to ssl_utils.c

Found with -Wmissing-prototypes:

    src/ssl_utils.c:22:5: fatal error: no previous prototype for function 'cert_get_pkey_algo' [-Wmissing-prototypes]
    int cert_get_pkey_algo(X509 *crt, struct buffer *out)
        ^
    src/ssl_utils.c:22:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
    int cert_get_pkey_algo(X509 *crt, struct buffer *out)
    ^
    static
    1 error generated.
src/ssl_utils.c