aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libstrongswan/credentials/certificates/ac.h10
-rw-r--r--src/libstrongswan/credentials/certificates/crl.h4
-rw-r--r--src/libstrongswan/credentials/certificates/x509.h4
3 files changed, 9 insertions, 9 deletions
diff --git a/src/libstrongswan/credentials/certificates/ac.h b/src/libstrongswan/credentials/certificates/ac.h
index fb99b4756..e617d56b0 100644
--- a/src/libstrongswan/credentials/certificates/ac.h
+++ b/src/libstrongswan/credentials/certificates/ac.h
@@ -55,21 +55,21 @@ struct ac_t {
* @return chunk pointing to serialNumber
*/
chunk_t (*get_holderSerial)(ac_t *this);
-
+
/**
* Get the issuer of the holder certificate.
*
* @return holderIssuer as identification_t*
*/
identification_t* (*get_holderIssuer)(ac_t *this);
-
+
/**
* Get the thauthorityKeyIdentifier.
*
- * @return authKeyIdentifier as identification_t*
+ * @return authKeyIdentifier as chunk_t, to internal data
*/
- identification_t* (*get_authKeyIdentifier)(ac_t *this);
-
+ chunk_t (*get_authKeyIdentifier)(ac_t *this);
+
/**
* @brief Checks if two attribute certificates belong to the same holder
*
diff --git a/src/libstrongswan/credentials/certificates/crl.h b/src/libstrongswan/credentials/certificates/crl.h
index 3fef0d710..44390c524 100644
--- a/src/libstrongswan/credentials/certificates/crl.h
+++ b/src/libstrongswan/credentials/certificates/crl.h
@@ -67,9 +67,9 @@ struct crl_t {
/**
* Get the the authorityKeyIdentifier.
*
- * @return authKeyIdentifier as identification_t*
+ * @return authKeyIdentifier chunk, point to internal data
*/
- identification_t* (*get_authKeyIdentifier)(crl_t *this);
+ chunk_t (*get_authKeyIdentifier)(crl_t *this);
/**
* Create an enumerator over all revoked certificates.
diff --git a/src/libstrongswan/credentials/certificates/x509.h b/src/libstrongswan/credentials/certificates/x509.h
index eedab78f7..0e63d357f 100644
--- a/src/libstrongswan/credentials/certificates/x509.h
+++ b/src/libstrongswan/credentials/certificates/x509.h
@@ -76,9 +76,9 @@ struct x509_t {
/**
* Get the the authorityKeyIdentifier.
*
- * @return authKeyIdentifier as identification_t*
+ * @return authKeyIdentifier as chunk_t, internal data
*/
- identification_t* (*get_authKeyIdentifier)(x509_t *this);
+ chunk_t (*get_authKeyIdentifier)(x509_t *this);
/**
* Create an enumerator over all subjectAltNames.