summaryrefslogtreecommitdiff
path: root/src/libcharon/plugins/tnc_tnccs/tnc_tnccs_manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcharon/plugins/tnc_tnccs/tnc_tnccs_manager.c')
-rw-r--r--src/libcharon/plugins/tnc_tnccs/tnc_tnccs_manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcharon/plugins/tnc_tnccs/tnc_tnccs_manager.c b/src/libcharon/plugins/tnc_tnccs/tnc_tnccs_manager.c
index 8db3731b2..60f6bc3c1 100644
--- a/src/libcharon/plugins/tnc_tnccs/tnc_tnccs_manager.c
+++ b/src/libcharon/plugins/tnc_tnccs/tnc_tnccs_manager.c
@@ -744,11 +744,11 @@ METHOD(tnccs_manager_t, get_attribute, TNC_Result,
subject_type = TNC_SUBJECT_USER;
break;
case ID_RFC822_ADDR:
- id_type = TNC_ID_RFC822_ADDR;
+ id_type = TNC_ID_EMAIL_ADDR;
subject_type = TNC_SUBJECT_USER;
break;
case ID_DER_ASN1_DN:
- id_type = TNC_ID_ASN1_DN;
+ id_type = TNC_ID_X500_DN;
subject_type = TNC_SUBJECT_USER;
break;
default: