Home | History | Annotate | Download | only in apps

Lines Matching full:db_serial

919 		p=pp[DB_serial];
937 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);
1446 if (!BN_hex2bn(&serial, pp[DB_serial]))
1954 row[DB_serial]=BUF_strdup("00");
1956 row[DB_serial]=BN_bn2hex(serial);
1957 if (row[DB_serial] == NULL)
1977 rrow=TXT_DB_get_by_index(db->db,DB_serial,row);
1981 row[DB_serial]);
2006 p=rrow[DB_serial]; if (p == NULL) p="undef";
2186 /* row[DB_serial] done already */
2426 row[DB_serial]=BUF_strdup("00");
2428 row[DB_serial]=BN_bn2hex(bn);
2430 if ((row[DB_name] == NULL) || (row[DB_serial] == NULL))
2438 rrow=TXT_DB_get_by_index(db->db,DB_serial,row);
2441 BIO_printf(bio_err,"Adding Entry with serial number %s to DB for %s\n", row[DB_serial], row[DB_name]);
2453 /* row[DB_serial] done already */
2503 row[DB_serial]);
2508 BIO_printf(bio_err,"Revoking Certificate %s.\n", rrow[DB_serial]);
2539 row[DB_serial] = OPENSSL_malloc(strlen(serial) + 2);
2540 if (row[DB_serial] == NULL)
2549 row[DB_serial][0]='0';
2551 DB_serial] */
2552 memcpy(row[DB_serial]+1, serial, strlen(serial));
2553 row[DB_serial][strlen(serial)+1]='\0';
2557 /* Copy String from serial to row[DB_serial] */
2558 memcpy(row[DB_serial], serial, strlen(serial));
2559 row[DB_serial][strlen(serial)]='\0';
2563 for (i=0; row[DB_serial][i] != '\0'; i++)
2564 row[DB_serial][i] = toupper((unsigned char)row[DB_serial][i]);
2570 rrow=TXT_DB_get_by_index(db->db,DB_serial,row);
2574 row[DB_serial]);
2581 row[DB_serial], rrow[DB_type][0]);
2587 row[DB_serial], rrow[DB_type][0]);
2593 row[DB_serial], rrow[DB_type][0]);
2599 row[DB_serial], rrow[DB_type][0]);
2605 row[DB_serial], rrow[DB_type][0]);
2665 rrow[DB_serial]);
2675 rrow[DB_serial]);