/*
Authors:
Jan Cholasta <jcholast@redhat.com>
George McCollister <george.mccollister@gmail.com>
Copyright (C) 2012 Red Hat
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "util/crypto/sss_crypto.h"
const unsigned char *in,
{
int i, j, b64size;
if (b64encoded) {
for (i=0, j=0; i < b64size; i++) {
continue;
}
outbuf[j++] = b64encoded[i];
}
outbuf[j++] = '\0';
}
done:
return outbuf;
}
const char *in,
{
char * in_dup;
if (!tmp_ctx) {
return NULL;
}
if (!bmem) {
goto done;
}
if (!bmem_out) {
goto done;
}
if (b64decoded) {
if (!outbuf) {
goto done;
}
} else {
}
done:
return outbuf;
}