X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fgcrypt%2Frsa.c;h=65301625bde65825f7cdd881dafe37114702dab7;hp=bb0f9bb3479fc863e42244d08e9a3bc33885b9cf;hb=551cd19406a560d0d206bff5b4e9da064ec222b6;hpb=911c05f873ad967c40d04aa7347b1067fe62c055 diff --git a/src/gcrypt/rsa.c b/src/gcrypt/rsa.c index bb0f9bb3..65301625 100644 --- a/src/gcrypt/rsa.c +++ b/src/gcrypt/rsa.c @@ -26,7 +26,7 @@ #include "logger.h" #include "rsa.h" -// Base64 encoding/decoding tables +// Base64 decoding table static const uint8_t b64d[128] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, @@ -53,8 +53,6 @@ static const uint8_t b64d[128] = { 0xff, 0xff }; -static const char b64e[64] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; - // PEM encoding/decoding functions static bool pem_decode(FILE *fp, const char *header, uint8_t *buf, size_t size, size_t *outsize) {