diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-11-08 22:14:07 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-11-08 22:17:10 +0100 |
commit | 76c93d23c073ef8b885503b7d28a31ffe2add6d8 (patch) | |
tree | 1dd2d22a197bc40c5330e516969a7cb1ae9bc96f /src/ocsptool-common.h | |
parent | 559a144f6bbcbb611453f82e655dd7438c14d1a7 (diff) | |
download | gnutls-76c93d23c073ef8b885503b7d28a31ffe2add6d8.tar.gz |
reindented code
Diffstat (limited to 'src/ocsptool-common.h')
-rw-r--r-- | src/ocsptool-common.h | 33 |
1 files changed, 16 insertions, 17 deletions
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 <gnutls/ocsp.h> -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 |