Description: properly decode base64url encoded strings
Author: Milan Kupcevic <milan@debian.org>
Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931041
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/base64.c
+++ b/base64.c
@@ -188,7 +188,7 @@
       bout[0] = bout[0] | c[bin[1]] >> 4;
   }
 
-  switch(c64d[bin[2]])
+  switch(c[bin[2]])
   {
     case 0xfe:
       if(bin[3] == '=')
