aboutsummaryrefslogtreecommitdiffstats
path: root/apps/x509.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2003-04-04 15:10:35 +0000
committerRichard Levitte <levitte@openssl.org>2003-04-04 15:10:35 +0000
commit4c771796d59f895c58e88bb7161fc0d711d05604 (patch)
tree9098508fbee315448d5ab02e4fbb64e303bb72a9 /apps/x509.c
parentd6df2b281f4eb0524606e3313afe8caf45d7e342 (diff)
downloadopenssl-4c771796d59f895c58e88bb7161fc0d711d05604.tar.gz
Convert save_serial() to work like save_index(), and add a
rotate_serial() that works like rotate_index().
Diffstat (limited to 'apps/x509.c')
-rw-r--r--apps/x509.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/x509.c b/apps/x509.c
index efb7b0d8b2..ed9e40574a 100644
--- a/apps/x509.c
+++ b/apps/x509.c
@@ -1064,7 +1064,7 @@ static ASN1_INTEGER *x509_load_serial(char *CAfile, char *serialfile, int create
if (!BN_add_word(serial,1))
{ BIO_printf(bio_err,"add_word failure\n"); goto end; }
- if (!save_serial(buf, serial, &bs)) goto end;
+ if (!save_serial(buf, NULL, serial, &bs)) goto end;
end:
if (buf) OPENSSL_free(buf);