]> git.saurik.com Git - apple/security.git/blobdiff - SecureTransport/privateInc/sslAlertMessage.h
Security-163.tar.gz
[apple/security.git] / SecureTransport / privateInc / sslAlertMessage.h
index 9b751f431ff131798f0f84f4bc5678e1a7bc75ef..3100b0834689f3f694ba95ffc11a28ac3664574d 100644 (file)
@@ -44,11 +44,11 @@ typedef enum
     SSL_AlertUnexpectedMsg = 10,
     SSL_AlertBadRecordMac = 20,
        SSL_AlertDecryptionFail = 21,           /* TLS */
-       SSL_AlertRecordOverflow = 22,                   /* TLS */
+       SSL_AlertRecordOverflow = 22,           /* TLS */
     SSL_AlertDecompressFail = 30,
     SSL_AlertHandshakeFail = 40,
     SSL_AlertNoCert = 41,
-    SSL_AlertBadCert = 42,                     /* SSLv3 only */
+    SSL_AlertBadCert = 42,                             /* SSLv3 only */
     SSL_AlertUnsupportedCert = 43,
     SSL_AlertCertRevoked = 44,
     SSL_AlertCertExpired = 45,
@@ -74,11 +74,6 @@ OSStatus SSLSendAlert(
        AlertLevel level, 
        AlertDescription desc, 
        SSLContext *ctx);
-OSStatus SSLEncodeAlert(
-       SSLRecord &rec, 
-       AlertLevel level, 
-       AlertDescription desc, 
-       SSLContext *ctx);
 OSStatus SSLFatalSessionAlert(
        AlertDescription desc, 
        SSLContext *ctx);