Navigation



Ignore:
Timestamp:
Sep 27, 2010, 4:39:14 PM (14 years ago)
Author:
Souheil Ben Ayed <souheil@tera.ics.keio.ac.jp>
Branch:
default
Phase:
public
Message:

added configuration parameters for DiamEAP and EAP-TLS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/app_diameap/plugins/eap_tls/eaptls.y

    r438 r565  
    8080%token          CAPATH
    8181%token          CRLPATH
     82%token          CHECK_CN_USERNAME
    8283
    8384%%     
     
    8788                | confparams CA_file
    8889                | confparams CRL_file
     90                | confparams CHECK_CN_USERNAME_param
    8991                | confparams errors
    9092                {
     
    220222                }
    221223                ;
    222                        
     224
     225CHECK_CN_USERNAME_param :       
     226                CHECK_CN_USERNAME '=' NUM ';'
     227                {
     228                        if((int)$3 == 0){
     229                                config->check_cert_cn_username = FALSE;
     230                        }
     231                        else
     232                        {
     233                                config->check_cert_cn_username = TRUE;                 
     234                        }
     235                }
     236                ;
    223237               
    224238%%
Note: See TracChangeset for help on using the changeset viewer.