From 76c93d23c073ef8b885503b7d28a31ffe2add6d8 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Fri, 8 Nov 2013 22:14:07 +0100 Subject: reindented code --- src/ocsptool-common.h | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) (limited to 'src/ocsptool-common.h') diff --git a/src/ocsptool-common.h b/src/ocsptool-common.h index 1158b61f40..67d255eae3 100644 --- a/src/ocsptool-common.h +++ b/src/ocsptool-common.h @@ -23,26 +23,25 @@ #include -enum - { - ACTION_NONE, - ACTION_REQ_INFO, - ACTION_RESP_INFO, - ACTION_VERIFY_RESP, - ACTION_GEN_REQ - }; +enum { + ACTION_NONE, + ACTION_REQ_INFO, + ACTION_RESP_INFO, + ACTION_VERIFY_RESP, + ACTION_GEN_REQ +}; -extern void ocsptool_version (void); +extern void ocsptool_version(void); void -_generate_request (gnutls_x509_crt_t cert, gnutls_x509_crt_t issuer, - gnutls_datum_t * rdata, int nonce); -int send_ocsp_request(const char* server, - gnutls_x509_crt_t cert, gnutls_x509_crt_t issuer, - gnutls_datum_t * resp_data, int nonce); -void -print_ocsp_verify_res (unsigned int output); +_generate_request(gnutls_x509_crt_t cert, gnutls_x509_crt_t issuer, + gnutls_datum_t * rdata, int nonce); +int send_ocsp_request(const char *server, + gnutls_x509_crt_t cert, gnutls_x509_crt_t issuer, + gnutls_datum_t * resp_data, int nonce); +void print_ocsp_verify_res(unsigned int output); int -check_ocsp_response (gnutls_x509_crt_t cert, gnutls_x509_crt_t issuer, gnutls_datum_t *data); +check_ocsp_response(gnutls_x509_crt_t cert, gnutls_x509_crt_t issuer, + gnutls_datum_t * data); #endif -- cgit v1.2.1