Skip to content
Snippets Groups Projects
Commit e3144f27 authored by Benjamin Wenger's avatar Benjamin Wenger
Browse files

fixed the cryptotype stringer

parent 9ec04cb7
No related branches found
No related tags found
No related merge requests found
...@@ -34,8 +34,10 @@ const ( ...@@ -34,8 +34,10 @@ const (
E2E E2E
) )
func (CryptoType) String() string { var cryptoTypeStrArr = []string{"None", "Unencrypted", "Rekey", "E2E"}
return "yo, there's probably a crypto type that needs to get got around here"
func (ct CryptoType) String() string {
return cryptoTypeStrArr[ct]
} }
// Interface used to standardize message definitions // Interface used to standardize message definitions
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment