Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/base64.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-10-17 12:03:02 -0500
committerDan McGee <dan@archlinux.org>2011-10-17 12:03:02 -0500
commite47eb9a7776f529a2c30936c468a5ee0601cfa47 (patch)
tree2fc2531510af683d11afd7796f1d606e671d9bf2 /lib/libalpm/base64.h
parentb633985e609dcd0cd898a3d4d7a59241ccf52084 (diff)
base64: don't compile base64_encode() function
We don't use this anywhere; "comment" it out so we still remain relatively close to the upstream sources. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/base64.h')
-rw-r--r--lib/libalpm/base64.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libalpm/base64.h b/lib/libalpm/base64.h
index 406aefa1..df684ab7 100644
--- a/lib/libalpm/base64.h
+++ b/lib/libalpm/base64.h
@@ -30,6 +30,7 @@
#define POLARSSL_ERR_BASE64_BUFFER_TOO_SMALL -0x0010 /**< Output buffer too small. */
#define POLARSSL_ERR_BASE64_INVALID_CHARACTER -0x0012 /**< Invalid character in input. */
+#if 0
/**
* \brief Encode a buffer into base64 format
*
@@ -47,6 +48,7 @@
*/
int base64_encode( unsigned char *dst, size_t *dlen,
const unsigned char *src, size_t slen );
+#endif
/**
* \brief Decode a base64-formatted buffer