summaryrefslogtreecommitdiff
path: root/lib/tls-sig.h
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2023-04-24 12:39:42 +0900
committerDaiki Ueno <ueno@gnu.org>2023-04-24 12:45:46 +0900
commitaa5950abab56b011331ad4331409b6ff8efb8aeb (patch)
treead363fb38e8b65c942876641cda9c76caa13b498 /lib/tls-sig.h
parent0fe9cb6842d63761718046cc7dd7eb437e6c5163 (diff)
downloadgnutls-aa5950abab56b011331ad4331409b6ff8efb8aeb.tar.gz
build: re-indent code
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Diffstat (limited to 'lib/tls-sig.h')
-rw-r--r--lib/tls-sig.h33
1 files changed, 15 insertions, 18 deletions
diff --git a/lib/tls-sig.h b/lib/tls-sig.h
index a445088ddc..0b9ef41047 100644
--- a/lib/tls-sig.h
+++ b/lib/tls-sig.h
@@ -21,43 +21,40 @@
*/
#ifndef GNUTLS_LIB_TLS_SIG_H
-# define GNUTLS_LIB_TLS_SIG_H
+#define GNUTLS_LIB_TLS_SIG_H
-# include <gnutls/abstract.h>
+#include <gnutls/abstract.h>
/* While this is currently equal to the length of RSA/SHA512
* signature, it should also be sufficient for DSS signature and any
* other RSA signatures including one with the old MD5/SHA1-combined
* format.
*/
-# define MAX_SIG_SIZE (19 + MAX_HASH_SIZE)
+#define MAX_SIG_SIZE (19 + MAX_HASH_SIZE)
int _gnutls_check_key_usage_for_sig(gnutls_session_t session,
unsigned key_usage, unsigned our_cert);
int _gnutls_handshake_sign_crt_vrfy(gnutls_session_t session,
- gnutls_pcert_st * cert,
+ gnutls_pcert_st *cert,
gnutls_privkey_t pkey,
- gnutls_datum_t * signature);
+ gnutls_datum_t *signature);
-int _gnutls_handshake_sign_data(gnutls_session_t session,
- gnutls_pcert_st * cert,
- gnutls_privkey_t pkey,
- gnutls_datum_t * params,
- gnutls_datum_t * signature,
- gnutls_sign_algorithm_t * algo);
+int _gnutls_handshake_sign_data(gnutls_session_t session, gnutls_pcert_st *cert,
+ gnutls_privkey_t pkey, gnutls_datum_t *params,
+ gnutls_datum_t *signature,
+ gnutls_sign_algorithm_t *algo);
int _gnutls_handshake_verify_crt_vrfy(gnutls_session_t session,
unsigned verify_flags,
- gnutls_pcert_st * cert,
- gnutls_datum_t * signature,
+ gnutls_pcert_st *cert,
+ gnutls_datum_t *signature,
gnutls_sign_algorithm_t);
int _gnutls_handshake_verify_data(gnutls_session_t session,
- unsigned verify_flags,
- gnutls_pcert_st * cert,
- const gnutls_datum_t * params,
- gnutls_datum_t * signature,
+ unsigned verify_flags, gnutls_pcert_st *cert,
+ const gnutls_datum_t *params,
+ gnutls_datum_t *signature,
gnutls_sign_algorithm_t algo);
-#endif /* GNUTLS_LIB_TLS_SIG_H */
+#endif /* GNUTLS_LIB_TLS_SIG_H */