From 656eaddd1e7cf1d79c20129cd6aa220ca4b09b6c Mon Sep 17 00:00:00 2001 From: Adrian Palacios Date: Wed, 16 Dec 2020 13:23:40 +0100 Subject: [PATCH] Restore simpler precondition --- source/default_cmm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/source/default_cmm.c b/source/default_cmm.c index 38208794b..69b670b8a 100644 --- a/source/default_cmm.c +++ b/source/default_cmm.c @@ -39,7 +39,6 @@ static int default_cmm_generate_enc_materials( struct aws_cryptosdk_enc_request *request) { AWS_PRECONDITION(aws_cryptosdk_default_cmm_is_valid(cmm)); AWS_PRECONDITION(output != NULL); - AWS_PRECONDITION(aws_cryptosdk_enc_materials_is_valid(*output)); AWS_PRECONDITION(aws_cryptosdk_enc_request_is_valid(request)); struct aws_cryptosdk_enc_materials *enc_mat = NULL;