File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -57,14 +57,14 @@ func (c *aesCipher) BlockSize() int {
57
57
58
58
func (c * aesCipher ) Encrypt (dst , src []byte ) {
59
59
if err := c .encrypt (dst , src ); err != nil {
60
- // Upstream expects that the panic message starts with "crypto/aes: ".
60
+ // crypto/aes expects that the panic message starts with "crypto/aes: ".
61
61
panic ("crypto/aes: " + err .Error ())
62
62
}
63
63
}
64
64
65
65
func (c * aesCipher ) Decrypt (dst , src []byte ) {
66
66
if err := c .decrypt (dst , src ); err != nil {
67
- // Upstream expects that the panic message starts with "crypto/aes: ".
67
+ // crypto/aes expects that the panic message starts with "crypto/aes: ".
68
68
panic ("crypto/aes: " + err .Error ())
69
69
}
70
70
}
Original file line number Diff line number Diff line change @@ -76,14 +76,14 @@ func (c *desCipher) BlockSize() int {
76
76
77
77
func (c * desCipher ) Encrypt (dst , src []byte ) {
78
78
if err := c .encrypt (dst , src ); err != nil {
79
- // Upstream expects that the panic message starts with "crypto/des: ".
79
+ // crypto/des expects that the panic message starts with "crypto/des: ".
80
80
panic ("crypto/des: " + err .Error ())
81
81
}
82
82
}
83
83
84
84
func (c * desCipher ) Decrypt (dst , src []byte ) {
85
85
if err := c .decrypt (dst , src ); err != nil {
86
- // Upstream expects that the panic message starts with "crypto/des: ".
86
+ // crypto/des expects that the panic message starts with "crypto/des: ".
87
87
panic ("crypto/des: " + err .Error ())
88
88
}
89
89
}
You can’t perform that action at this time.
0 commit comments