openssl/include/openssl
Matt Caswell 61fb59238d Rework the decrypt ticket callback
Don't call the decrypt ticket callback if we've already encountered a
fatal error. Do call it if we have an empty ticket present.

Change the return code to have 5 distinct returns codes and separate it
from the input status value.

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6198)
2018-05-11 14:51:09 +01:00
..
__DECC_INCLUDE_EPILOGUE.H Copyright consolidation 03/10 2016-05-17 14:24:17 -04:00
__DECC_INCLUDE_PROLOGUE.H Copyright consolidation 03/10 2016-05-17 14:24:17 -04:00
aes.h Copyright consolidation 03/10 2016-05-17 14:24:17 -04:00
asn1.h Put back the #include <openssl/safestack.h> lines in public headers. 2017-09-29 07:56:35 +10:00
asn1_mac.h Copyright consolidation 03/10 2016-05-17 14:24:17 -04:00
asn1err.h a_strex.c: prevent out of bound read in do_buf() 2018-05-02 20:36:21 +02:00
asn1t.h Add parentheses on public macros where appropriate. 2017-04-27 11:31:09 +01:00
async.h Update copyright year 2018-02-13 13:59:25 +00:00
asyncerr.h Set error code on alloc failures 2018-04-03 11:31:16 -04:00
bio.h Use gnu_printf format attribute to minimise MinGW warnings 2018-04-03 16:00:01 +02:00
bioerr.h Add missing error code when alloc-return-null 2018-04-26 12:27:46 -04:00
blowfish.h Copyright consolidation 03/10 2016-05-17 14:24:17 -04:00
bn.h Update copyright year 2018-02-13 13:59:25 +00:00
bnerr.h Add missing error code when alloc-return-null 2018-04-26 12:27:46 -04:00
buffer.h Update copyright year 2018-02-13 13:59:25 +00:00
buffererr.h Small simplification in mkerr.pl 2018-02-09 07:04:32 -05:00
camellia.h Copyright consolidation 03/10 2016-05-17 14:24:17 -04:00
cast.h Copyright consolidation 03/10 2016-05-17 14:24:17 -04:00
cmac.h Copyright consolidation 03/10 2016-05-17 14:24:17 -04:00
cms.h Update copyright year 2018-02-13 13:59:25 +00:00
cmserr.h Set error code on alloc failures 2018-04-03 11:31:16 -04:00
comp.h Update copyright year 2018-02-13 13:59:25 +00:00
comperr.h Fix last(?) batch of malloc-NULL places 2018-04-26 14:02:24 -04:00
conf.h Update copyright year 2018-02-13 13:59:25 +00:00
conf_api.h Copyright consolidation 03/10 2016-05-17 14:24:17 -04:00
conferr.h Set error code if alloc returns NULL 2018-04-05 15:13:55 -04:00
crypto.h Ensure the thread keys are always allocated in the same order 2018-04-20 15:45:06 +02:00
cryptoerr.h Fix last(?) batch of malloc-NULL places 2018-04-26 14:02:24 -04:00
ct.h Update copyright year 2018-02-13 13:59:25 +00:00
cterr.h Small simplification in mkerr.pl 2018-02-09 07:04:32 -05:00
des.h Copyright consolidation 03/10 2016-05-17 14:24:17 -04:00
dh.h Convert _meth_get_ functions to const getters 2018-03-21 10:37:05 +00:00
dherr.h Set error code on alloc failures 2018-04-03 11:31:16 -04:00
dsa.h opensslconf.h inclusion cleanup 2018-05-02 23:42:21 +02:00
dsaerr.h Pick a q size consistent with the digest for DSA param generation 2018-04-05 15:44:24 +01:00
dtls1.h Update copyright year 2018-02-13 13:59:25 +00:00
e_os2.h Copyright update of more files that have changed this year 2018-01-19 13:34:03 +01:00
ebcdic.h Change inclusion of sys/types.h to stdlib.h in include/openssl/ebcdic.h 2016-06-04 01:22:08 +02:00
ec.h Remove redundant declarations of ERR_load_*_strings() 2018-02-09 17:49:07 +01:00
ecdh.h Copyright consolidation 03/10 2016-05-17 14:24:17 -04:00
ecdsa.h Copyright consolidation 03/10 2016-05-17 14:24:17 -04:00
ecerr.h Add missing error code when alloc-return-null 2018-04-26 12:27:46 -04:00
engine.h Update copyright year 2018-02-13 13:59:25 +00:00
engineerr.h Set error code on alloc failures 2018-04-03 11:31:16 -04:00
err.h openssl/err.h: remove duplicate OSSL_STOREerr() 2018-04-20 13:05:22 +02:00
evp.h Convert _meth_get_ functions to const getters 2018-03-21 10:37:05 +00:00
evperr.h Set error code on alloc failures 2018-04-03 11:31:16 -04:00
hmac.h Add a getter to obtain the HMAC_CTX md 2016-06-24 13:22:40 +01:00
idea.h Fix some OPENSSL_API_COMPAT values 2016-06-27 11:28:29 +01:00
kdf.h Update copyright year 2018-02-13 13:59:25 +00:00
kdferr.h Set error code on alloc failures 2018-04-03 11:31:16 -04:00
lhash.h Ignore MSVC warnings (via Gisle Vanem) 2017-05-10 11:59:09 -04:00
md2.h Copyright consolidation 03/10 2016-05-17 14:24:17 -04:00
md4.h Copyright consolidation 03/10 2016-05-17 14:24:17 -04:00
md5.h Copyright consolidation 03/10 2016-05-17 14:24:17 -04:00
mdc2.h Add inclusion of stdlib.h in include/openssl/mdc2.h 2016-06-04 01:22:08 +02:00
modes.h Add a HEADER_MODES_H guard in include/openssl/modes.h 2016-11-03 13:13:31 +01:00
obj_mac.h Add SM2 signature and ECIES schemes 2018-03-19 14:33:25 +01:00
objects.h Update copyright year 2018-02-13 13:59:25 +00:00
objectserr.h Add missing error code when alloc-return-null 2018-04-26 12:27:46 -04:00
ocsp.h Update copyright year 2018-02-13 13:59:25 +00:00
ocsperr.h Small simplification in mkerr.pl 2018-02-09 07:04:32 -05:00
opensslconf.h.in opensslconf.h.in: Use all the "openssl_api_defines" 2018-03-06 21:18:33 +01:00
opensslv.h Prepare for 1.1.1-pre7-dev 2018-05-01 13:55:46 +01:00
ossl_typ.h Publish the RAND_DRBG API 2018-03-15 18:58:38 +01:00
pem.h PEM_def_callback(): use same parameter names as for pem_password_cb 2018-04-26 10:39:44 +02:00
pem2.h Update copyright year 2018-02-13 13:59:25 +00:00
pemerr.h Set error code on alloc failures 2018-04-03 11:31:16 -04:00
pkcs7.h make error tables const and separate header file 2017-06-07 15:12:03 -04:00
pkcs7err.h Small simplification in mkerr.pl 2018-02-09 07:04:32 -05:00
pkcs12.h make error tables const and separate header file 2017-06-07 15:12:03 -04:00
pkcs12err.h Add missing error code when alloc-return-null 2018-04-26 12:27:46 -04:00
rand.h include/openssl/rand.h: omit intermediate typedef. 2018-03-22 15:06:02 +01:00
rand_drbg.h Add documentation for the RAND_DRBG API 2018-03-30 00:10:38 +02:00
randerr.h make update 2018-04-13 23:48:41 +02:00
rc2.h Copyright consolidation 03/10 2016-05-17 14:24:17 -04:00
rc4.h Copyright consolidation 03/10 2016-05-17 14:24:17 -04:00
rc5.h Copyright consolidation 03/10 2016-05-17 14:24:17 -04:00
ripemd.h Copyright consolidation 03/10 2016-05-17 14:24:17 -04:00
rsa.h Convert _meth_get_ functions to const getters 2018-03-21 10:37:05 +00:00
rsaerr.h Set error code on alloc failures 2018-04-03 11:31:16 -04:00
safestack.h Add sk_TYPE_new_reserve() function 2017-10-26 09:35:36 +10:00
seed.h NO_SYS_TYPES_H isn't defined anywhere, stop using it as a guard 2017-08-25 15:50:59 +02:00
sha.h Copyright consolidation 03/10 2016-05-17 14:24:17 -04:00
sm2.h Update copyright year 2018-03-20 13:08:46 +00:00
sm2err.h Update copyright year 2018-03-20 13:08:46 +00:00
srp.h update SRP copyright notice 2018-03-13 18:33:44 +10:00
srtp.h Add documentation for SRTP functions 2017-08-24 09:34:51 +01:00
ssl.h Rework the decrypt ticket callback 2018-05-11 14:51:09 +01:00
ssl2.h Copyright consolidation 03/10 2016-05-17 14:24:17 -04:00
ssl3.h Duplicate entries ssl_handshake_tbl trace entries... 2018-03-08 10:32:34 -05:00
sslerr.h Fix last(?) batch of malloc-NULL places 2018-04-26 14:02:24 -04:00
stack.h Add sk_TYPE_new_reserve() function 2017-10-26 09:35:36 +10:00
store.h STORE: Add the possibility to search for specific information 2018-02-23 07:40:42 +01:00
storeerr.h STORE 'file' scheme loader: Add search capibility 2018-02-23 07:40:42 +01:00
symhacks.h Copyright consolidation 03/10 2016-05-17 14:24:17 -04:00
tls1.h Split configuration of TLSv1.3 ciphers from older ciphers 2018-03-14 10:15:50 +00:00
ts.h Update copyright year 2018-02-13 13:59:25 +00:00
tserr.h Small simplification in mkerr.pl 2018-02-09 07:04:32 -05:00
txt_db.h Put back the #include <openssl/safestack.h> lines in public headers. 2017-09-29 07:56:35 +10:00
ui.h Update copyright year 2018-02-13 13:59:25 +00:00
uierr.h Set error code on alloc failures 2018-04-03 11:31:16 -04:00
whrlpool.h Copyright consolidation 03/10 2016-05-17 14:24:17 -04:00
x509.h Remove email addresses from source code. 2017-10-13 10:06:59 -04:00
x509_vfy.h Make X509_VERIFY_PARAM_get_hostflags() take a const arg 2018-05-02 23:43:52 +01:00
x509err.h Add missing malloc-return-null instance 2018-04-24 12:41:45 -04:00
x509v3.h Add X509_get0_authority_key_id() function 2018-02-19 15:47:02 -05:00
x509v3err.h Add missing error code when alloc-return-null 2018-04-26 12:27:46 -04:00