Searched refs:serialfile (Results 1 – 5 of 5) sorted by relevance
/openssl/apps/ |
H A D | ts.c | 60 static ASN1_INTEGER *next_serial(const char *serialfile); 61 static int save_ts_serial(const char *serialfile, ASN1_INTEGER *serial); 783 static ASN1_INTEGER *next_serial(const char *serialfile) in next_serial() argument 793 if ((in = BIO_new_file(serialfile, "r")) == NULL) { in next_serial() 796 "reading, using serial number: 1\n", serialfile); in next_serial() 803 serialfile); in next_serial() 827 static int save_ts_serial(const char *serialfile, ASN1_INTEGER *serial) in save_ts_serial() argument 832 if ((out = BIO_new_file(serialfile, "w")) == NULL) in save_ts_serial() 842 serialfile); in save_ts_serial()
|
H A D | x509.c | 38 const char *serialfile, int create); 1137 const char *serialfile, int create) in x509_load_serial() argument 1144 if (serialfile == NULL) { in x509_load_serial() 1151 serialfile = buf; in x509_load_serial() 1155 serial = load_serial(serialfile, &file_exists, create || defaultfile, NULL); in x509_load_serial() 1165 save_serial(serialfile, NULL, serial, &bs); in x509_load_serial()
|
H A D | ca.c | 290 const char *serialfile = NULL, *subj = NULL; in ca_main() local 840 serialfile = lookup_conf(conf, section, ENV_SERIAL); in ca_main() 841 if (serialfile == NULL) in ca_main() 904 serial = load_serial(serialfile, NULL, create_ser, NULL); in ca_main() 1042 if (serialfile != NULL in ca_main() 1043 && !save_serial(serialfile, "new", serial, NULL)) in ca_main() 1110 if (serialfile != NULL in ca_main() 1111 && !rotate_serial(serialfile, "new", "old")) in ca_main()
|
/openssl/apps/lib/ |
H A D | apps.c | 1540 in = BIO_new_file(serialfile, "r"); in IMPLEMENT_LHASH_HASH_FN() 1545 perror(serialfile); in IMPLEMENT_LHASH_HASH_FN() 1554 serialfile); in IMPLEMENT_LHASH_HASH_FN() 1561 serialfile); in IMPLEMENT_LHASH_HASH_FN() 1593 j = strlen(serialfile); in save_serial() 1595 j = strlen(serialfile) + strlen(suffix) + 1; in save_serial() 1602 OPENSSL_strlcpy(buf[0], serialfile, BSIZE); in save_serial() 1640 i = strlen(serialfile) + strlen(old_suffix); in rotate_serial() 1641 j = strlen(serialfile) + strlen(new_suffix); in rotate_serial() 1665 if (rename(buf[0], serialfile) < 0) { in rotate_serial() [all …]
|
/openssl/apps/include/ |
H A D | apps.h | 233 BIGNUM *load_serial(const char *serialfile, int *exists, int create, 235 int save_serial(const char *serialfile, const char *suffix, 237 int rotate_serial(const char *serialfile, const char *new_suffix,
|
Completed in 44 milliseconds