-#endif
-
-#include "cryptType.h"
-
-/*
- * An SSLContext contains four of these - one for each of {read,write} and for
- * {current, pending}.
- */
-struct CipherContext
-{
-
- const HashHmacReference *macRef; /* HMAC (TLS) or digest (SSL) */
- const SSLSymmetricCipher *symCipher;
-
- /* this is a context which is reused once per record */
- HashHmacContext macCtx;
-
- /*
- * Crypto context for CommonCrypto-based symmetric ciphers
- */
- CCCryptorRef cryptorRef;
+size_t SSLGetCertificateChainLength(
+ const SSLCertificate *c);
+OSStatus sslDeleteCertificateChain(
+ SSLCertificate *certs,
+ SSLContext *ctx);