summaryrefslogtreecommitdiff
path: root/src/scepclient/scep.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/scepclient/scep.h')
-rw-r--r--src/scepclient/scep.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/scepclient/scep.h b/src/scepclient/scep.h
index 6227faba4..30551d2db 100644
--- a/src/scepclient/scep.h
+++ b/src/scepclient/scep.h
@@ -17,7 +17,7 @@
#ifndef _SCEP_H
#define _SCEP_H
-#include <crypto/pkcs7.h>
+#include <credentials/containers/pkcs7.h>
#include <credentials/certificates/certificate.h>
/* supported SCEP operation types */
@@ -78,10 +78,9 @@ chunk_t scep_build_request(chunk_t data, chunk_t transID, scep_msg_t msg,
certificate_t *enc_cert, encryption_algorithm_t enc_alg,
size_t key_size, certificate_t *signer_cert,
hash_algorithm_t digest_alg, private_key_t *private_key);
-bool scep_http_request(const char *url, chunk_t pkcs7, scep_op_t op,
+bool scep_http_request(const char *url, chunk_t message, scep_op_t op,
bool http_get_request, chunk_t *response);
err_t scep_parse_response(chunk_t response, chunk_t transID,
- pkcs7_t **data, scep_attributes_t *attrs,
- certificate_t *signer_cert);
+ container_t **out, scep_attributes_t *attrs);
#endif /* _SCEP_H */