Fix merge error with verify callback and totalCerts.

This commit is contained in:
David Garske
2017-04-07 16:16:19 -07:00
parent 56a1618ba0
commit 62e7dc87c3

View File

@ -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;