Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(15)

Delta Between Two Patch Sets: src/crypto/tls/alert.go

Issue 152570049: [dev.power64] code review 152570049: all: merge default into dev.power64 (Closed)
Left Patch Set: diff -r 36f7fc9495481ed67a159eea0eb2fac35b7c46a5 https://code.google.com/p/go Created 10 years, 4 months ago
Right Patch Set: diff -r 36f7fc9495481ed67a159eea0eb2fac35b7c46a5 https://code.google.com/p/go Created 10 years, 4 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « src/compress/zlib/reader.go ('k') | src/crypto/tls/cipher_suites.go » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(Both sides are equal)
1 // Copyright 2009 The Go Authors. All rights reserved. 1 // Copyright 2009 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style 2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 3 // license that can be found in the LICENSE file.
4 4
5 package tls 5 package tls
6 6
7 import "strconv" 7 import "strconv"
8 8
9 type alert uint8 9 type alert uint8
10 10
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 s, ok := alertText[e] 70 s, ok := alertText[e]
71 if ok { 71 if ok {
72 return s 72 return s
73 } 73 }
74 return "alert(" + strconv.Itoa(int(e)) + ")" 74 return "alert(" + strconv.Itoa(int(e)) + ")"
75 } 75 }
76 76
77 func (e alert) Error() string { 77 func (e alert) Error() string {
78 return e.String() 78 return e.String()
79 } 79 }
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b