CLEANUP: ocsp: do no use strpcy() to copy a path!
authorWilly Tarreau <w@1wt.eu>
Fri, 7 Apr 2023 15:49:37 +0000 (17:49 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 7 Apr 2023 15:57:05 +0000 (17:57 +0200)
commit6d4c0c2ca247eb9e1e0317a080b577661d24a583
tree576708e7607b2ca0600243407b6a59530432fda7
parenta0fa577070bdeaf5f1c559eee0fa435122d5d5c6
CLEANUP: ocsp: do no use strpcy() to copy a path!

strcpy() is quite nasty but tolerable to copy constants, but here
it copies a variable path into a node in a code path that's not
trivial to follow given that it takes the node as the result of
a tree lookup. Let's get rid of it and mention where the entry
is retrieved.
src/ssl_sock.c