-OSStatus
-SSLDisposeCipherSuite(CipherContext *cipher, SSLContext *ctx)
-{ OSStatus err;
-
- /* symmetric encryption context */
- if(cipher->symCipher) {
- if ((err = cipher->symCipher->finish(cipher, ctx)) != 0) {
- return err;
- }
- }
-
- /* per-record hash/hmac context */
- ctx->sslTslCalls->freeMac(cipher);
-
- return noErr;
-}