diff options
author | Richard Levitte <levitte@openssl.org> | 2003-04-04 15:10:35 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2003-04-04 15:10:35 +0000 |
commit | 4c771796d59f895c58e88bb7161fc0d711d05604 (patch) | |
tree | 9098508fbee315448d5ab02e4fbb64e303bb72a9 /apps/apps.h | |
parent | d6df2b281f4eb0524606e3313afe8caf45d7e342 (diff) |
Convert save_serial() to work like save_index(), and add a
rotate_serial() that works like rotate_index().
Diffstat (limited to 'apps/apps.h')
-rw-r--r-- | apps/apps.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/apps.h b/apps/apps.h index 974eb4f1c9..8a9c4ab0a0 100644 --- a/apps/apps.h +++ b/apps/apps.h @@ -311,7 +311,8 @@ typedef struct ca_db_st } CA_DB; BIGNUM *load_serial(char *serialfile, int create, ASN1_INTEGER **retai); -int save_serial(char *serialfile, BIGNUM *serial, ASN1_INTEGER **retai); +int save_serial(char *serialfile, char *suffix, BIGNUM *serial, ASN1_INTEGER **retai); +int rotate_serial(char *serialfile, char *new_suffix, char *old_suffix); CA_DB *load_index(char *dbfile, DB_ATTR *dbattr); int index_index(CA_DB *db); int save_index(char *dbfile, char *suffix, CA_DB *db); |