Home | History | Annotate | Download | only in apps

Lines Matching refs:DB_serial

905 		p=pp[DB_serial];
923 BIO_printf(bio_err,"entry %d: bad serial number characters, char pos %ld, char is '%c'\n",i+1,(long)(p-pp[DB_serial]),*p);
1429 if (!BN_hex2bn(&serial, pp[DB_serial]))
1930 row[DB_serial]=BUF_strdup("00");
1932 row[DB_serial]=BN_bn2hex(serial);
1933 if (row[DB_serial] == NULL)
1953 rrow=TXT_DB_get_by_index(db->db,DB_serial,row);
1957 row[DB_serial]);
1982 p=rrow[DB_serial]; if (p == NULL) p="undef";
2162 /* row[DB_serial] done already */
2401 row[DB_serial]=BUF_strdup("00");
2403 row[DB_serial]=BN_bn2hex(bn);
2405 if ((row[DB_name] == NULL) || (row[DB_serial] == NULL))
2413 rrow=TXT_DB_get_by_index(db->db,DB_serial,row);
2416 BIO_printf(bio_err,"Adding Entry with serial number %s to DB for %s\n", row[DB_serial], row[DB_name]);
2428 /* row[DB_serial] done already */
2478 row[DB_serial]);
2483 BIO_printf(bio_err,"Revoking Certificate %s.\n", rrow[DB_serial]);
2514 row[DB_serial] = OPENSSL_malloc(strlen(serial) + 2);
2515 if (row[DB_serial] == NULL)
2524 row[DB_serial][0]='0';
2526 /* Copy String from serial to row[DB_serial] */
2527 memcpy(row[DB_serial]+1, serial, strlen(serial));
2528 row[DB_serial][strlen(serial)+1]='\0';
2532 /* Copy String from serial to row[DB_serial] */
2533 memcpy(row[DB_serial], serial, strlen(serial));
2534 row[DB_serial][strlen(serial)]='\0';
2538 for (i=0; row[DB_serial][i] != '\0'; i++)
2539 row[DB_serial][i] = toupper(row[DB_serial][i]);
2545 rrow=TXT_DB_get_by_index(db->db,DB_serial,row);
2549 row[DB_serial]);
2556 row[DB_serial], rrow[DB_type][0]);
2562 row[DB_serial], rrow[DB_type][0]);
2568 row[DB_serial], rrow[DB_type][0]);
2574 row[DB_serial], rrow[DB_type][0]);
2580 row[DB_serial], rrow[DB_type][0]);
2640 rrow[DB_serial]);
2650 rrow[DB_serial]);