diff options
author | 2019-04-22 14:49:42 +0000 | |
---|---|---|
committer | 2019-04-22 14:49:42 +0000 | |
commit | 18e023dcb200e98bbd836e33df36f119381a10ee (patch) | |
tree | f1826db6f27e68f628f3b432419dd832fc9de0b4 /lib/libssl/t1_lib.c | |
parent | Add support for official Linux device tree bindings and implement support (diff) | |
download | wireguard-openbsd-18e023dcb200e98bbd836e33df36f119381a10ee.tar.xz wireguard-openbsd-18e023dcb200e98bbd836e33df36f119381a10ee.zip |
Inline and remove the tlsext_tick_md macro.
There is not much point having a tlsext_tick_md macro that replaces
EVP_sha256() in two places, when the cipher is just hardcoded.
ok tb@
Diffstat (limited to 'lib/libssl/t1_lib.c')
-rw-r--r-- | lib/libssl/t1_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/t1_lib.c b/lib/libssl/t1_lib.c index 75c936abc71..b8aa9894130 100644 --- a/lib/libssl/t1_lib.c +++ b/lib/libssl/t1_lib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: t1_lib.c,v 1.157 2019/04/21 14:41:30 jsing Exp $ */ +/* $OpenBSD: t1_lib.c,v 1.158 2019/04/22 14:49:42 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -925,7 +925,7 @@ tls_decrypt_ticket(SSL *s, const unsigned char *etick, int eticklen, goto done; } HMAC_Init_ex(&hctx, tctx->internal->tlsext_tick_hmac_key, - 16, tlsext_tick_md(), NULL); + 16, EVP_sha256(), NULL); EVP_DecryptInit_ex(&ctx, EVP_aes_128_cbc(), NULL, tctx->internal->tlsext_tick_aes_key, etick + 16); } |