summaryrefslogtreecommitdiff
path: root/src/lib/libssl/d1_srtp.c
diff options
context:
space:
mode:
authorjsing <>2022-10-01 16:23:15 +0000
committerjsing <>2022-10-01 16:23:15 +0000
commitce780ee20f92c920e451f9c3bdd6bb5fe83f4c5b (patch)
tree17355bd2c7397fbcda5912079e30abc288561c2f /src/lib/libssl/d1_srtp.c
parent438c86053ebb0aa2325bca974e8d290d8bb1691a (diff)
downloadopenbsd-ce780ee20f92c920e451f9c3bdd6bb5fe83f4c5b.tar.gz
openbsd-ce780ee20f92c920e451f9c3bdd6bb5fe83f4c5b.tar.bz2
openbsd-ce780ee20f92c920e451f9c3bdd6bb5fe83f4c5b.zip
Move handshake message handling functions from ssl_both.c to client/server.
Currently, ssl_both.c contains several functions that are used by both the legacy client and legacy server. This interwines the client and server, making it harder to make progressive changes. While it does deduplicate some code, it also ends up with code that is conditioned on s->server and forces the caller to pass in SSL3_ST_* values. Move these functions from ssl_both.c into ssl_clnt.c and ssl_srvr.c, renaming as appropriate and removing the s->server conditionals. Also move the client and server function prototypes from ssl_locl.h into the .c files, making them static in the process. ok tb@
Diffstat (limited to 'src/lib/libssl/d1_srtp.c')
0 files changed, 0 insertions, 0 deletions