summaryrefslogtreecommitdiff
path: root/lib/srp.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/srp.h')
-rw-r--r--lib/srp.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/srp.h b/lib/srp.h
index ab5a184ac7..5a03e7bb0e 100644
--- a/lib/srp.h
+++ b/lib/srp.h
@@ -21,11 +21,11 @@
*/
#ifndef GNUTLS_LIB_SRP_H
-#define GNUTLS_LIB_SRP_H
+# define GNUTLS_LIB_SRP_H
-#include <config.h>
+# include <config.h>
-#ifdef ENABLE_SRP
+# ifdef ENABLE_SRP
bigint_t _gnutls_calc_srp_B(bigint_t * ret_b, bigint_t g, bigint_t n,
bigint_t v);
@@ -36,12 +36,12 @@ bigint_t _gnutls_calc_srp_A(bigint_t * a, bigint_t g, bigint_t n);
bigint_t _gnutls_calc_srp_S2(bigint_t B, bigint_t g, bigint_t x,
bigint_t a, bigint_t u, bigint_t n);
int _gnutls_calc_srp_x(char *username, char *password, uint8_t * salt,
- size_t salt_size, size_t * size, void *digest);
+ size_t salt_size, size_t *size, void *digest);
int _gnutls_srp_gn(uint8_t ** ret_g, uint8_t ** ret_n, int bits);
/* g is defined to be 2 */
-#define SRP_MAX_HASH_SIZE 24
+# define SRP_MAX_HASH_SIZE 24
-#endif
+# endif
-#endif /* GNUTLS_LIB_SRP_H */
+#endif /* GNUTLS_LIB_SRP_H */