Searched refs:serialfile (Results 1 – 4 of 4) sorted by relevance
/external/openssl/apps/ |
D | apps.c | 1464 BIGNUM *load_serial(char *serialfile, int create, ASN1_INTEGER **retai) in IMPLEMENT_LHASH_HASH_FN() 1480 if (BIO_read_filename(in,serialfile) <= 0) in IMPLEMENT_LHASH_HASH_FN() 1484 perror(serialfile); in IMPLEMENT_LHASH_HASH_FN() 1499 serialfile); in IMPLEMENT_LHASH_HASH_FN() 1521 int save_serial(char *serialfile, char *suffix, BIGNUM *serial, ASN1_INTEGER **retai) in save_serial() argument 1530 j = strlen(serialfile); in save_serial() 1532 j = strlen(serialfile) + strlen(suffix) + 1; in save_serial() 1540 BUF_strlcpy(buf[0], serialfile, BSIZE); in save_serial() 1544 j = BIO_snprintf(buf[0], sizeof buf[0], "%s.%s", serialfile, suffix); in save_serial() 1546 j = BIO_snprintf(buf[0], sizeof buf[0], "%s-%s", serialfile, suffix); in save_serial() [all …]
|
D | apps.h | 322 BIGNUM *load_serial(char *serialfile, int create, ASN1_INTEGER **retai); 323 int save_serial(char *serialfile, char *suffix, BIGNUM *serial, ASN1_INTEGER **retai); 324 int rotate_serial(char *serialfile, char *new_suffix, char *old_suffix);
|
D | x509.c | 1087 static ASN1_INTEGER *x509_load_serial(char *CAfile, char *serialfile, int create) in x509_load_serial() argument 1094 len = ((serialfile == NULL) in x509_load_serial() 1096 :(strlen(serialfile)))+1; in x509_load_serial() 1099 if (serialfile == NULL) in x509_load_serial() 1111 BUF_strlcpy(buf,serialfile,len); in x509_load_serial() 1128 X509 *x, X509 *xca, EVP_PKEY *pkey, char *serialfile, int create, in x509_certify() argument 1146 else if (!(bs = x509_load_serial(CAfile, serialfile, create))) in x509_certify()
|
D | ca.c | 277 char *serialfile=NULL; in MAIN() local 1055 if ((serialfile=NCONF_get_string(conf,section,ENV_SERIAL)) in MAIN() 1129 if ((serial=load_serial(serialfile, create_ser, NULL)) == NULL) in MAIN() 1263 if (!save_serial(serialfile,"new",serial,NULL)) goto err; in MAIN() 1327 if (!rotate_serial(serialfile,"new","old")) goto err; in MAIN()
|