Latest update.
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
* AES low level APIs are deprecated for public use, but still ok for internal
|
||||
* All low level APIs are deprecated for public use, but still ok for internal
|
||||
* use where we're using them to implement the higher level EVP interface, as is
|
||||
* the case here.
|
||||
*/
|
||||
@@ -23,7 +23,7 @@ int cipher_capable_aes_cbc_hmac_sha1(void)
|
||||
}
|
||||
#else
|
||||
|
||||
# include "crypto/rand.h"
|
||||
# include <openssl/rand.h>
|
||||
# include "crypto/evp.h"
|
||||
# include "internal/constant_time.h"
|
||||
|
||||
@@ -135,7 +135,7 @@ static size_t tls1_multi_block_encrypt(void *vctx,
|
||||
# endif
|
||||
|
||||
/* ask for IVs in bulk */
|
||||
if (rand_bytes_ex(ctx->base.libctx, (IVs = blocks[0].c), 16 * x4) <= 0)
|
||||
if (RAND_bytes_ex(ctx->base.libctx, (IVs = blocks[0].c), 16 * x4) <= 0)
|
||||
return 0;
|
||||
|
||||
mctx = (SHA1_MB_CTX *) (storage + 32 - ((size_t)storage % 32)); /* align */
|
||||
|
||||
Reference in New Issue
Block a user