From 67812d396cd3c4064f12cbd7dcaa83013136ecf5 Mon Sep 17 00:00:00 2001
From: Paul Bakker
Date: Fri, 14 Jun 2013 11:35:09 +0200
Subject: [PATCH] Fixed location of brackets in pkcs12.c
---
library/pkcs12.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/library/pkcs12.c b/library/pkcs12.c
index 39ab10fa9..b8f16bf56 100644
--- a/library/pkcs12.c
+++ b/library/pkcs12.c
@@ -155,8 +155,8 @@ int pkcs12_pbe_sha1_rc4_128( asn1_buf *pbe_params, int mode,
return( ret );
return( 0 );
-}
#endif /* POLARSSL_ARC4_C */
+}
int pkcs12_pbe_sha1_des2_ede_cbc( asn1_buf *pbe_params, int mode,
const unsigned char *pwd, size_t pwdlen,
@@ -196,8 +196,8 @@ int pkcs12_pbe_sha1_des2_ede_cbc( asn1_buf *pbe_params, int mode,
}
return( 0 );
-}
#endif /* POLARSSL_DES_C */
+}
int pkcs12_pbe_sha1_des3_ede_cbc( asn1_buf *pbe_params, int mode,
const unsigned char *pwd, size_t pwdlen,
@@ -237,8 +237,8 @@ int pkcs12_pbe_sha1_des3_ede_cbc( asn1_buf *pbe_params, int mode,
}
return( 0 );
-}
#endif /* POLARSSL_DES_C */
+}
static void pkcs12_fill_buffer( unsigned char *data, size_t data_len,
const unsigned char *filler, size_t fill_len )