From 62e7dc87c385017f8f98a333570727b6935d1187 Mon Sep 17 00:00:00 2001 From: David Garske Date: Fri, 7 Apr 2017 16:16:19 -0700 Subject: [PATCH] Fix merge error with verify callback and totalCerts. --- src/internal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internal.c b/src/internal.c index 56c834a60..4f000499f 100755 --- a/src/internal.c +++ b/src/internal.c @@ -7573,7 +7573,7 @@ static int DoCertificate(WOLFSSL* ssl, byte* input, word32* inOutIdx, #ifdef WOLFSSL_WPAS store->error_depth = 0; #else - store->error_depth = totalCerts; + store->error_depth = args->totalCerts; #endif store->discardSessionCerts = 0; store->domain = args->domain;