Show
Ignore:
Timestamp:
04/28/08 09:57:03 (7 months ago)
Author:
ludovic.rousseau
Message:

convert C++ in C comment

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/libopensc/card-atrust-acos.c

    r3318 r3502  
    4040}; 
    4141 
    42 // sequence and number has to match atr table ! 
     42/* sequence and number has to match atr table ! */ 
    4343static const char *atrust_acos_names[] = { 
    4444  ACOS_EMV_A03, 
     
    8181                if (sc_hex_to_bin(atrp, defatr, &len)) 
    8282                        continue; 
    83                 // we may only verify part of ATR since 
    84                 // part of the hist chars is variable 
     83                /* we may only verify part of ATR since */ 
     84                /* part of the hist chars is variable */ 
    8585                if (len > card->atr_len) 
    8686                        continue; 
     
    156156        if (buflen < 2) 
    157157                return SC_ERROR_INTERNAL; 
    158         if (buf[0] != 0x6f)                                     // FCI template 
     158        if (buf[0] != 0x6f)                                     /* FCI template */ 
    159159                return SC_ERROR_INVALID_DATA; 
    160160        len = (size_t)buf[1]; 
     
    170170        file->size = 0; 
    171171   
    172         // get file size 
     172        /* get file size */ 
    173173        tag = sc_asn1_find_tag(ctx, p, len, 0x80, &taglen); 
    174174        if (tag != NULL && taglen >= 2) { 
     
    179179        } 
    180180 
    181         // get file type 
     181        /* get file type */ 
    182182        tag = sc_asn1_find_tag(ctx, p, len, 0x82, &taglen); 
    183183        if (tag != NULL) { 
     
    822822        } 
    823823   
    824         // iso error  
     824        /* iso error */ 
    825825        return iso_ops->check_sw(card, sw1, sw2); 
    826826}