Latest update.
This commit is contained in:
+6
-6
@@ -16,12 +16,12 @@
|
||||
#include <openssl/aes.h>
|
||||
#include <openssl/rand.h>
|
||||
#include <openssl/cmac.h>
|
||||
#include "internal/evp_int.h"
|
||||
#include "crypto/evp.h"
|
||||
#include "internal/cryptlib.h"
|
||||
#include "internal/modes_int.h"
|
||||
#include "internal/siv_int.h"
|
||||
#include "internal/ciphermode_platform.h"
|
||||
#include "evp_locl.h"
|
||||
#include "crypto/modes.h"
|
||||
#include "crypto/siv.h"
|
||||
#include "crypto/ciphermode_platform.h"
|
||||
#include "evp_local.h"
|
||||
|
||||
typedef struct {
|
||||
union {
|
||||
@@ -3744,7 +3744,7 @@ static int aes_ocb_ctrl(EVP_CIPHER_CTX *c, int type, int arg, void *ptr)
|
||||
return 1;
|
||||
|
||||
case EVP_CTRL_AEAD_SET_TAG:
|
||||
if (!ptr) {
|
||||
if (ptr == NULL) {
|
||||
/* Tag len must be 0 to 16 */
|
||||
if (arg < 0 || arg > 16)
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user