Make the "ticket" function return codes clearer
authorMatt Caswell <matt@openssl.org>
Fri, 20 Jan 2017 16:01:27 +0000 (16:01 +0000)
committerMatt Caswell <matt@openssl.org>
Mon, 30 Jan 2017 10:18:23 +0000 (10:18 +0000)
commitddf6ec006963d49e8b0dce55fe22fb8e844c3fbf
tree469a67467728eb8622cef61936521b2eadb707b7
parent1f5b44e943d911c3d0bf1445a6dab60798a66408
Make the "ticket" function return codes clearer

Remove "magic" return values and use an enum instead.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2259)
ssl/ssl_locl.h
ssl/ssl_sess.c
ssl/t1_lib.c