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/pkcs15-tcos.c

    r3405 r3502  
    6565        } 
    6666 
    67         // some certificates are prefixed by an OID 
     67        /* some certificates are prefixed by an OID */ 
    6868        if(cert[4]==0x06 && cert[5]<10 && cert[6+cert[5]]==0x30 && cert[7+cert[5]]==0x82){ 
    6969                cert_info.path.index=6+cert[5]; 
     
    255255        char dir[10], *c_auth; 
    256256 
    257         // NKS-Applikation ? 
     257        /* NKS-Applikation ? */ 
    258258        p.len=7; p.type=SC_PATH_TYPE_DF_NAME; 
    259259        memcpy(p.value, "\xD2\x76\x00\x00\x03\x01\x02", p.len=7); 
     
    307307        ); 
    308308 
    309         // SigG-Applikation ? 
     309        /* SigG-Applikation ? */ 
    310310        p.len=7; p.type=SC_PATH_TYPE_DF_NAME; 
    311311        memcpy(p.value, "\xD2\x76\x00\x00\x66\x01", p.len=6); 
     
    438438        int i, r; 
    439439 
    440         // check if we have the correct card OS unless SC_PKCS15EMU_FLAGS_NO_CHECK 
     440        /* check if we have the correct card OS unless SC_PKCS15EMU_FLAGS_NO_CHECK */ 
    441441        i=(opts && (opts->flags & SC_PKCS15EMU_FLAGS_NO_CHECK)); 
    442442        if (!i && card->type!=SC_CARD_TYPE_TCOS_V2 && card->type!=SC_CARD_TYPE_TCOS_V3) return SC_ERROR_WRONG_CARD; 
    443443 
    444         // get the card serial number 
     444        /* get the card serial number */ 
    445445        r = sc_card_ctl(card, SC_CARDCTL_GET_SERIALNR, &serialnr); 
    446446        if (r < 0) {