commit | 4c771796d59f895c58e88bb7161fc0d711d05604 | [log] [tgz] |
---|---|---|
author | Richard Levitte <levitte@openssl.org> | Fri Apr 04 15:10:35 2003 +0000 |
committer | Richard Levitte <levitte@openssl.org> | Fri Apr 04 15:10:35 2003 +0000 |
tree | 9098508fbee315448d5ab02e4fbb64e303bb72a9 | |
parent | d6df2b281f4eb0524606e3313afe8caf45d7e342 [diff] [blame] |
Convert save_serial() to work like save_index(), and add a rotate_serial() that works like rotate_index().
diff --git a/apps/x509.c b/apps/x509.c index efb7b0d..ed9e405 100644 --- a/apps/x509.c +++ b/apps/x509.c
@@ -1064,7 +1064,7 @@ 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);