]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: ssl: make ssl_sock_generate_certificate() use ssl_sock_generated_cert_serial()
authorWilly Tarreau <w@1wt.eu>
Tue, 7 Jul 2015 16:09:34 +0000 (18:09 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 7 Jul 2015 16:09:34 +0000 (18:09 +0200)
commitfc017fec487382aab2f5016a3523f49cebaa751a
tree6cad1116f92b2b1ecffab238323a68f8c51f0b01
parent646b864fe525a6679f0c8d3ffda47b08a54d2b4a
CLEANUP: ssl: make ssl_sock_generate_certificate() use ssl_sock_generated_cert_serial()

It saves from open-coding the hashing method. Instead all serial
generation is done in a single function.
src/ssl_sock.c