static OSStatus SSLVerifySignedServerKeyExchange(SSLContext *ctx, bool isRsa, SSLBuffer signedParams,uint8_t *signature, UInt16 signatureLen) { OSStatus err; ... if ((err = SSLHashSHA1.update(&hashCtx, &serverRandom)) != 0) goto fail; if ((err = SSLHashSHA1.update(&hashCtx, &signedParams)) != 0) goto fail; goto fail; //code executes irrespective of whether if condition is satisfied - always executes. if ((err = SSLHashSHA1.final(&hashCtx, &hashOut)) != 0) goto fail; ... fail: SSLFreeBuffer(&signedHashes); SSLFreeBuffer(&hashCtx); return err; }
Scraps from various sources and my own writings on Digital, Artificial Intelligence, Disruption, Agile, Scrum, Kanban, Scaled Agile, XP, TDD, FDD, DevOps, Design Thinking, etc.
Page Hits
Saturday, March 19, 2016
Apple's goto Fail Bug
Saturday, February 06, 2016
Subscribe to:
Posts (Atom)
Salesforce Platform Basics - Trailhead
https://trailhead.salesforce.com/content/learn/modules/starting_force_com Salesforce Platform Basics Customer Relationship Management (CRM...
-
Requirements Analysis -- Business requirements document or business requirements specification System Design -- Systems requireme...