diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-02-18 16:36:38 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-02-18 16:36:38 +0100 |
commit | 12f3130a9a3b776c4674bc0c35ec161a8e99a1d2 (patch) | |
tree | 16a8adf7dc98fb35d35953d3394f689a02d1be53 /src/ocsptool-common.h | |
parent | 31e44103c4a3ec0b05f272bbaec73a60c07bfc88 (diff) | |
download | gnutls-12f3130a9a3b776c4674bc0c35ec161a8e99a1d2.tar.gz |
When sending a nonce in OCSP check if it is available on the reply.
Diffstat (limited to 'src/ocsptool-common.h')
-rw-r--r-- | src/ocsptool-common.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ocsptool-common.h b/src/ocsptool-common.h index 67d255eae3..5922cb0ae5 100644 --- a/src/ocsptool-common.h +++ b/src/ocsptool-common.h @@ -34,14 +34,14 @@ enum { extern void ocsptool_version(void); void _generate_request(gnutls_x509_crt_t cert, gnutls_x509_crt_t issuer, - gnutls_datum_t * rdata, int nonce); + gnutls_datum_t * rdata, gnutls_datum_t* 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); + gnutls_datum_t * resp_data, gnutls_datum_t* 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); + gnutls_datum_t * data, gnutls_datum_t *nonce); #endif |