Source release v3.0.0-0-g8d3792b-ce + third_party
Change-Id: I399e71ddfffcd436171d1c60283c63ab4658e0b1
This commit is contained in:
35
third_party/stringencoders/LICENSE
vendored
35
third_party/stringencoders/LICENSE
vendored
@@ -1,35 +0,0 @@
|
||||
MODP_B64 - High performance base64 encoder/decoder
|
||||
http://code.google.com/p/stringencoders/
|
||||
|
||||
Copyright © 2005, 2006, 2007 Nick Galbreath -- nickg [at] modp [dot] com
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are
|
||||
met:
|
||||
|
||||
Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
|
||||
Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
|
||||
Neither the name of the modp.com nor the names of its
|
||||
contributors may be used to endorse or promote products derived from
|
||||
this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
This is the standard "new" BSD license:
|
||||
http://www.opensource.org/licenses/bsd-license.php
|
||||
30
third_party/stringencoders/README.google
vendored
30
third_party/stringencoders/README.google
vendored
@@ -1,30 +0,0 @@
|
||||
URL: https://code.google.com/p/stringencoders/
|
||||
Version: v3.10.3
|
||||
License: BSD
|
||||
License File: LICENSE
|
||||
|
||||
Description:
|
||||
This directory contains open source code for modp base64 encode and decode
|
||||
functions from https://code.google.com/p/stringencoders/.
|
||||
|
||||
Local Modifications:
|
||||
Comment out #include "config.h" in modep_b64.cpp
|
||||
|
||||
Additional Notes:
|
||||
Note that the directory structure in third_party/stringencoders mirrors that of
|
||||
stringencoders-v3.10.3, therefore, the include files are placed in ./src
|
||||
instead of ./include.
|
||||
|
||||
The following instructions demonstrate how modp_b64_data.h is generated.
|
||||
modp_b64_data.h contains conversion tables to generate web safe encoded
|
||||
base64 strings.
|
||||
|
||||
1. navigate to https://code.google.com/p/stringencoders
|
||||
2. download stringencoders-v3.10.3.tar.gz from the "Downloads" tab
|
||||
3. extract source to a working folder
|
||||
4. change into stringencoders-v3.10.3/ directory
|
||||
5. ./configure --with-b64w-chars='-_='
|
||||
6. make
|
||||
7. now copy modp_b64w_data.h to third_party/stringencoders/src/.
|
||||
8. copy src/modp_b64w.c to third_party/stringencoders/src/*.cpp
|
||||
9. copy src/modp_b64w.h to third_party/stringencoders/src/.
|
||||
1
third_party/stringencoders/src/config.h
vendored
Normal file
1
third_party/stringencoders/src/config.h
vendored
Normal file
@@ -0,0 +1 @@
|
||||
// dummy
|
||||
2
third_party/stringencoders/src/modp_b64w.cpp
vendored
2
third_party/stringencoders/src/modp_b64w.cpp
vendored
@@ -48,7 +48,7 @@
|
||||
* If you are ripping this out of the library, comment out the next
|
||||
* line and uncomment the next lines as approrpiate
|
||||
*/
|
||||
//#include "config.h"
|
||||
#include "config.h"
|
||||
|
||||
/* if on motoral, sun, ibm; uncomment this */
|
||||
/* #define WORDS_BIGENDIAN 1 */
|
||||
|
||||
Reference in New Issue
Block a user