]> granicus.if.org Git - transmission/commit
Use libb64 instead of OpenSSL to encode/decode BASE64
authorMike Gelfand <mikedld@mikedld.com>
Thu, 1 Jan 2015 21:16:36 +0000 (21:16 +0000)
committerMike Gelfand <mikedld@mikedld.com>
Thu, 1 Jan 2015 21:16:36 +0000 (21:16 +0000)
commitb928ae1ba824426385e6a078f7d84f1452e9b370
tree18aefd63c483f042a85af3c81e77fe6f3e7990ba
parent392bdc1cdbe518490c92aaef56f35259b0095cfd
Use libb64 instead of OpenSSL to encode/decode BASE64

Some crypto libraries (like CyaSSL, MatrixSSL and CommonCrypto) either
don't have or expose this functionality at all, expose only part of it,
or (like OpenSSL) have heavyweight API for it. Also, for the task as
easy as BASE64 encoding and decoding it's much better to use small and
simple specialized library.
27 files changed:
CMakeLists.txt
cli/Makefile.am
cmake/FindB64.cmake [new file with mode: 0644]
configure.ac
daemon/Makefile.am
gtk/Makefile.am
libtransmission/CMakeLists.txt
libtransmission/Makefile.am
libtransmission/crypto-utils-openssl.c
libtransmission/crypto-utils.c
libtransmission/crypto-utils.h
qt/config.pri.in
qt/qtr.pro
third-party/Makefile.am
third-party/b64-01-newline.patch [new file with mode: 0644]
third-party/b64.cmake [new file with mode: 0644]
third-party/libb64/AUTHORS [new file with mode: 0644]
third-party/libb64/CHANGELOG [new file with mode: 0644]
third-party/libb64/INSTALL [new file with mode: 0644]
third-party/libb64/LICENSE [new file with mode: 0644]
third-party/libb64/Makefile.am [new file with mode: 0644]
third-party/libb64/README [new file with mode: 0644]
third-party/libb64/b64/cdecode.h [new file with mode: 0644]
third-party/libb64/b64/cencode.h [new file with mode: 0644]
third-party/libb64/cdecode.c [new file with mode: 0644]
third-party/libb64/cencode.c [new file with mode: 0644]
utils/Makefile.am