From 32238984bf1dcac9f684481395862e47371bb35a Mon Sep 17 00:00:00 2001 From: Mat M Date: Thu, 22 Feb 2018 17:18:34 -0500 Subject: [PATCH] smc_user: Fix syntax (#16) * smc_user: Fix syntax for size assignment in user_load_secure_exp_mod_key() and user_load_rsa_oaep_key() * smc_user: Fix include directive --- exosphere/smc_user.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/exosphere/smc_user.c b/exosphere/smc_user.c index 02033d9d3..416548581 100644 --- a/exosphere/smc_user.c +++ b/exosphere/smc_user.c @@ -2,7 +2,7 @@ #include "utils.h" #include "cache.h" -#incoude "configitem.h" +#include "configitem.h" #include "masterkey.h" #include "smc_api.h" #include "smc_user.h" @@ -374,7 +374,7 @@ uint32_t user_load_rsa_oaep_key(smc_args_t *args) { } is_personalized = (int)args->X[3]; user_address = (void *)args->X[4]; - size = = (size_t)args->X[5]; + size = (size_t)args->X[5]; wrapped_key[0] = args->X[6]; wrapped_key[1] = args->X[7]; @@ -469,7 +469,7 @@ uint32_t user_load_secure_exp_mod_key(smc_args_t *args) { } is_personalized = (int)args->X[3]; user_address = (void *)args->X[4]; - size = = (size_t)args->X[5]; + size = (size_t)args->X[5]; wrapped_key[0] = args->X[6]; wrapped_key[1] = args->X[7];