summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/signing.c
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2013-01-03 22:48:52 +0100
committerAllan McRae <allan@archlinux.org>2013-01-04 12:49:37 +0100
commitb5709b8171c5be82ebb3651680ae3698b7513f43 (patch)
tree51993e70ae95ccecf0c74c5e82d45c4915421efa /lib/libalpm/signing.c
parente13a3bf5990d03cca25c86efbfbaf2540d645413 (diff)
downloadpacman-b5709b8171c5be82ebb3651680ae3698b7513f43.tar.gz
pacman-b5709b8171c5be82ebb3651680ae3698b7513f43.tar.xz
Fix open braces style
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/signing.c')
-rw-r--r--lib/libalpm/signing.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libalpm/signing.c b/lib/libalpm/signing.c
index 22d4d3d4..606b6a61 100644
--- a/lib/libalpm/signing.c
+++ b/lib/libalpm/signing.c
@@ -379,7 +379,8 @@ error:
* @return 0 on success, -1 on failure to properly decode
*/
static int decode_signature(const char *base64_data,
- unsigned char **data, size_t *data_len) {
+ unsigned char **data, size_t *data_len)
+{
size_t len = strlen(base64_data);
unsigned char *usline = (unsigned char *)base64_data;
/* reasonable allocation of expected length is 3/4 of encoded length */