Switch encoding of AR Identity Value from binary to UTF-8

This commit is contained in:
Andreas Steffen
2013-03-22 10:37:49 +01:00
parent 3db17b0ccc
commit a1bc67d6c9
14 changed files with 123 additions and 118 deletions
+1 -1
View File
@@ -196,7 +196,7 @@ tncif_identity_t *tncif_identity_create(pen_type_t identity_type,
this = (private_tncif_identity_t*)tncif_identity_create_empty();
this->identity_type = identity_type;
this->identity_value = chunk_clone(identity_value);
this->identity_value = identity_value;
this->subject_type = subject_type;
this->auth_type = auth_type;
+1 -1
View File
@@ -100,7 +100,7 @@ tncif_identity_t* tncif_identity_create_empty(void);
* Create an TNC Identity object from its components
*
* @param identity_type TNC Identity Type
* @param identity_value TNC Identity Value
* @param identity_value TNC Identity Value (not cloned by constructor)
* @param subject_type TNC Subject Type
* @param auth_type TNC Authentication Type
*/
+2 -3
View File
@@ -218,9 +218,8 @@ typedef TNC_Result (*TNC_IMV_ProvideBindFunctionPointer)(
#define TNC_ID_IPV6_ADDR 2
#define TNC_ID_FQDN 3
#define TNC_ID_RFC822_ADDR 4
#define TNC_ID_USER_NAME 5
#define TNC_ID_DER_ASN1_DN 6
#define TNC_ID_DER_ASN1_GN 7
#define TNC_ID_USERNAME 5
#define TNC_ID_ASN1_DN 6
/* TNC Subject Types */