Imported OpenSSL 1.1.1b
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2016-2018 The OpenSSL Project Authors. All Rights Reserved.
|
||||
* Copyright 2016-2019 The OpenSSL Project Authors. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||
* this file except in compliance with the License. You can obtain a copy
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
/*
|
||||
* Based on the test vectors availble in:
|
||||
* https://tools.ietf.org/html/draft-ietf-tls-tls13-vectors-06
|
||||
* https://tools.ietf.org/html/draft-ietf-tls-tls13-vectors-06
|
||||
*/
|
||||
|
||||
static unsigned char hs_start_hash[] = {
|
||||
@@ -236,7 +236,7 @@ static int test_secret(SSL *s, unsigned char *prk,
|
||||
}
|
||||
|
||||
if (!tls13_hkdf_expand(s, md, prk, label, labellen, hash, hashsize,
|
||||
gensecret, hashsize)) {
|
||||
gensecret, hashsize, 1)) {
|
||||
TEST_error("Secret generation failed");
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user