Fixed some typos in comments
This commit is contained in:
committed by
Martin Willi
parent
3365bddccf
commit
10eee5fcba
@@ -31,7 +31,7 @@ typedef enum cert_encoding_t cert_encoding_t;
|
|||||||
#include <encoding/payloads/payload.h>
|
#include <encoding/payloads/payload.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Certifcate encodings, as in RFC4306
|
* Certificate encodings, as in RFC4306
|
||||||
*/
|
*/
|
||||||
enum cert_encoding_t {
|
enum cert_encoding_t {
|
||||||
ENC_PKCS7_WRAPPED_X509 = 1,
|
ENC_PKCS7_WRAPPED_X509 = 1,
|
||||||
@@ -65,9 +65,9 @@ struct cert_payload_t {
|
|||||||
payload_t payload_interface;
|
payload_t payload_interface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the playoads encoded certifcate.
|
* Get the payloads encoded certificate.
|
||||||
*
|
*
|
||||||
* @return certifcate copy
|
* @return certificate copy
|
||||||
*/
|
*/
|
||||||
certificate_t *(*get_cert)(cert_payload_t *this);
|
certificate_t *(*get_cert)(cert_payload_t *this);
|
||||||
|
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ struct certreq_payload_t {
|
|||||||
/**
|
/**
|
||||||
* Add a certificates keyid to the payload (IKEv2 only).
|
* Add a certificates keyid to the payload (IKEv2 only).
|
||||||
*
|
*
|
||||||
* @param keyid keyid of the trusted certifcate
|
* @param keyid keyid of the trusted certificate
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
void (*add_keyid)(certreq_payload_t *this, chunk_t keyid);
|
void (*add_keyid)(certreq_payload_t *this, chunk_t keyid);
|
||||||
|
|||||||
@@ -442,7 +442,7 @@ static auth_cfg_t *build_auth_cfg(private_stroke_config_t *this,
|
|||||||
|
|
||||||
cfg = auth_cfg_create();
|
cfg = auth_cfg_create();
|
||||||
|
|
||||||
/* add identity and peer certifcate */
|
/* add identity and peer certificate */
|
||||||
identity = identification_create_from_string(id);
|
identity = identification_create_from_string(id);
|
||||||
if (cert)
|
if (cert)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -132,7 +132,7 @@ static void process_certreqs(private_isakmp_cert_pre_t *this, message_t *message
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Import receuved certificates
|
* Import received certificates
|
||||||
*/
|
*/
|
||||||
static void process_certs(private_isakmp_cert_pre_t *this, message_t *message)
|
static void process_certs(private_isakmp_cert_pre_t *this, message_t *message)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user