aboutsummaryrefslogtreecommitdiff
path: root/internal/nametransform/names.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-11-01 19:20:55 +0100
committerJakob Unterwurzacher2016-11-01 19:25:59 +0100
commitd15122d3d6b67d42617ed9950ce5273d0dba64fd (patch)
treecf8928a9335ec7b1fea3e03fd8a32042a8485189 /internal/nametransform/names.go
parentf4c367381ea4884a9b460e073a7809665031a88c (diff)
Add Go 1.4 compatibility layer for raw64
Using raw64 will not work, but at least it will compile.
Diffstat (limited to 'internal/nametransform/names.go')
-rw-r--r--internal/nametransform/names.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/nametransform/names.go b/internal/nametransform/names.go
index 9b1639f..ddb5faa 100644
--- a/internal/nametransform/names.go
+++ b/internal/nametransform/names.go
@@ -25,7 +25,7 @@ type NameTransform struct {
func New(c *cryptocore.CryptoCore, longNames bool, raw64 bool) *NameTransform {
b64 := base64.URLEncoding
if raw64 {
- b64 = base64.RawURLEncoding
+ b64 = getRaw64Encoding()
}
return &NameTransform{
cryptoCore: c,