diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2017-03-18 13:01:56 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2017-03-18 13:01:56 +0000 |
commit | 3b8626b43d34373f3d37e7cca9304fba96258edb (patch) | |
tree | eedd1c525976a28e57fc004a29a55a8db9fcc7b0 /lib/libssl/t1_enc.c | |
parent | 1ff69ba4fd384ce6ea19d5e153588364e98a6b6a (diff) |
t1_enc.c
Diffstat (limited to 'lib/libssl/t1_enc.c')
-rw-r--r-- | lib/libssl/t1_enc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libssl/t1_enc.c b/lib/libssl/t1_enc.c index 96b3aa6ca85..7ebfe65ff64 100644 --- a/lib/libssl/t1_enc.c +++ b/lib/libssl/t1_enc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: t1_enc.c,v 1.103 2017/03/18 12:58:18 jsing Exp $ */ +/* $OpenBSD: t1_enc.c,v 1.104 2017/03/18 13:01:55 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -1023,7 +1023,6 @@ int tls1_final_finish_mac(SSL *s, const char *str, int slen, unsigned char *out) { unsigned char buf1[EVP_MAX_MD_SIZE]; - unsigned char buf2[12]; size_t hlen; if (!tls1_handshake_hash_value(s, buf1, sizeof(buf1), &hlen)) @@ -1037,7 +1036,7 @@ tls1_final_finish_mac(SSL *s, const char *str, int slen, unsigned char *out) out, 12)) return 0; - return sizeof(buf2); + return 12; } int |