From de6d2c524430287c699aaa898c1325da6afea539 Mon Sep 17 00:00:00 2001 From: Niall Sheridan Date: Wed, 20 Jun 2018 22:39:07 +0100 Subject: Update dependencies --- vendor/github.com/gorilla/securecookie/AUTHORS | 19 +++++++++++++++++++ vendor/github.com/gorilla/securecookie/LICENSE | 2 +- .../github.com/gorilla/securecookie/securecookie.go | 2 +- 3 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 vendor/github.com/gorilla/securecookie/AUTHORS (limited to 'vendor/github.com/gorilla/securecookie') diff --git a/vendor/github.com/gorilla/securecookie/AUTHORS b/vendor/github.com/gorilla/securecookie/AUTHORS new file mode 100644 index 0000000..a4d447d --- /dev/null +++ b/vendor/github.com/gorilla/securecookie/AUTHORS @@ -0,0 +1,19 @@ +# This is the official list of gorilla/securecookie authors for copyright purposes. +# Please keep the list sorted. + +0x434D53 +Abdülhamit Yilmaz +Annonomus-Penguin +Craig Peterson +Cyril David +Dmitry Chestnykh +Dominik Honnef +Google LLC (https://opensource.google.com/) +John Downey +Kamil Kisiel +Keunwoo Lee +Mahmud Ridwan +Matt Silverlock +rodrigo moraes +s7v7nislands +Wesley Bitter diff --git a/vendor/github.com/gorilla/securecookie/LICENSE b/vendor/github.com/gorilla/securecookie/LICENSE index 0e5fb87..6903df6 100644 --- a/vendor/github.com/gorilla/securecookie/LICENSE +++ b/vendor/github.com/gorilla/securecookie/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2012 Rodrigo Moraes. All rights reserved. +Copyright (c) 2012-2018 The Gorilla Authors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are diff --git a/vendor/github.com/gorilla/securecookie/securecookie.go b/vendor/github.com/gorilla/securecookie/securecookie.go index cd4e097..61af390 100644 --- a/vendor/github.com/gorilla/securecookie/securecookie.go +++ b/vendor/github.com/gorilla/securecookie/securecookie.go @@ -141,7 +141,7 @@ func New(hashKey, blockKey []byte) *SecureCookie { maxLength: 4096, sz: GobEncoder{}, } - if hashKey == nil { + if len(hashKey) == 0 { s.err = errHashKeyNotSet } if blockKey != nil { -- cgit v1.2.3