Overview
Comment: | Updated to use certificate from identity in attribute finding
Updated to correctly pass certificate number |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
9b6cdd281cde60e87516b596aae15a98 |
User & Date: | rkeene on 2010-05-13 15:58:32 |
Other Links: | manifest | tags |
Context
2010-05-13
| ||
16:19 | Updated to determine subject from certificate check-in: 5534d640e4 user: rkeene tags: trunk | |
15:58 |
Updated to use certificate from identity in attribute finding
Updated to correctly pass certificate number check-in: 9b6cdd281c user: rkeene tags: trunk | |
00:36 | Made DEBUG default build check-in: 9f3d0cb931 user: rkeene tags: trunk | |
Changes
Modified asn1-x509.c from [0fcacfecab] to [330bebdc8e].
︙ | |||
141 142 143 144 145 146 147 | 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 | + - + + + - + + + - + + | int read_ret; read_ret = asn1_x509_read_object(x509_der_buf, x509_der_buf_len, &x509); if (read_ret != 0) { return(-1); } if (outbuf) { |
Modified cackey.c from [cd6ed6e22a] to [2223838f44].
︙ | |||
1435 1436 1437 1438 1439 1440 1441 | 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 | - + - - - - - + + + + + + + + + - + + + + + + + + + + + | CK_ATTRIBUTE curr_attr, *retval; CK_VOID_PTR pValue; CK_ULONG ulValueLen; CK_OBJECT_CLASS ck_object_class; CK_CERTIFICATE_TYPE ck_certificate_type; CK_KEY_TYPE ck_key_type; CK_UTF8CHAR ucTmpBuf[1024]; |
︙ | |||
2974 2975 2976 2977 2978 2979 2980 | 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 | - + | num_ids = (CKO_PRIVATE_KEY - CKO_CERTIFICATE + 1) * num_certs; identities = malloc(num_ids * sizeof(*identities)); id_idx = 0; for (cert_idx = 0; cert_idx < num_certs; cert_idx++) { for (curr_id_type = CKO_CERTIFICATE; curr_id_type <= CKO_PRIVATE_KEY; curr_id_type++) { |
︙ |