Navigation



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

Corrected compilation warnings on app_diameap

File:
1 edited

Legend:

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

    • Property exe set to *
    r425 r438  
    127127                if (fl == NULL) {
    128128                        int ret = errno;
    129                         TRACE_DEBUG(INFO,"%s[EAP TLS plugin] Unable to open certificate file %s for reading",DIAMEAP_EXTENSION,certfile);
     129                        TRACE_DEBUG(INFO,"%s[EAP TLS plugin] Unable to open certificate file %s for reading: %s",DIAMEAP_EXTENSION,certfile,strerror(ret));
    130130                        yyerror (&yylloc, config, "Error configuring certificate for EAP-TLS");
    131131                        YYERROR;
     
    144144                if (fl == NULL) {
    145145                        int ret = errno;
    146                         TRACE_DEBUG(INFO,"%s[EAP TLS plugin] Unable to open privateKey file %s for reading",DIAMEAP_EXTENSION,keyfile);
     146                        TRACE_DEBUG(INFO,"%s[EAP TLS plugin] Unable to open privateKey file %s for reading: %s",DIAMEAP_EXTENSION,keyfile,strerror(ret));
    147147                        yyerror (&yylloc, config, "Error configuring privateKey for EAP-TLS");
    148148                        YYERROR;
     
    179179                if (fl == NULL) {
    180180                        int ret = errno;
    181                         TRACE_DEBUG(INFO,"%s[EAP TLS plugin] Unable to open CA file %s for reading",DIAMEAP_EXTENSION,cafile);
     181                        TRACE_DEBUG(INFO,"%s[EAP TLS plugin] Unable to open CA file %s for reading: %s",DIAMEAP_EXTENSION,cafile,strerror(ret));
    182182                        yyerror (&yylloc, config, "Error configuring CA file for EAP-TLS");
    183183                        YYERROR;
     
    211211                        if (fl == NULL) {
    212212                                int ret = errno;
    213                                 TRACE_DEBUG(INFO,"%s[EAP TLS plugin] Unable to open CRL file %s for reading",DIAMEAP_EXTENSION,crlfile);
     213                                TRACE_DEBUG(INFO,"%s[EAP TLS plugin] Unable to open CRL file %s for reading: %s",DIAMEAP_EXTENSION,crlfile,strerror(ret));
    214214                                yyerror (&yylloc, config, "Error configuring CRL file for EAP-TLS");
    215215                                YYERROR;
Note: See TracChangeset for help on using the changeset viewer.