diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-09-17 08:17:36 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-09-17 08:17:36 -0400 |
commit | c92e19268bcff04e4726e4f243f7125de66d2c2d (patch) | |
tree | 88552c7424e76a356b3aab993a20243a06cc3054 /src/feature/keymgt | |
parent | ca389d22a1ce90081566616adf4efac889cc1930 (diff) | |
download | tor-c92e19268bcff04e4726e4f243f7125de66d2c2d.tar.gz tor-c92e19268bcff04e4726e4f243f7125de66d2c2d.zip |
Rename tor_cert_create to tor_cert_create_ed25519
This is an automated commit, generated by this command:
./scripts/maint/rename_c_identifier.py \
tor_cert_create tor_cert_create_ed25519
It was generated with --no-verify, so it probably breaks some commit hooks.
The commiter should be sure to fix them up in a subsequent commit.
Diffstat (limited to 'src/feature/keymgt')
-rw-r--r-- | src/feature/keymgt/loadkey.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/feature/keymgt/loadkey.c b/src/feature/keymgt/loadkey.c index 7958bd964f..9b8f2f018a 100644 --- a/src/feature/keymgt/loadkey.c +++ b/src/feature/keymgt/loadkey.c @@ -661,7 +661,7 @@ ed_key_init_from_file(const char *fname, uint32_t flags, uint32_t cert_flags = 0; if (flags & INIT_ED_KEY_INCLUDE_SIGNING_KEY_IN_CERT) cert_flags |= CERT_FLAG_INCLUDE_SIGNING_KEY; - cert = tor_cert_create(signing_key, cert_type, + cert = tor_cert_create_ed25519(signing_key, cert_type, &keypair->pubkey, now, lifetime, cert_flags); @@ -739,7 +739,7 @@ ed_key_new(const ed25519_keypair_t *signing_key, uint32_t cert_flags = 0; if (flags & INIT_ED_KEY_INCLUDE_SIGNING_KEY_IN_CERT) cert_flags |= CERT_FLAG_INCLUDE_SIGNING_KEY; - tor_cert_t *cert = tor_cert_create(signing_key, cert_type, + tor_cert_t *cert = tor_cert_create_ed25519(signing_key, cert_type, &keypair->pubkey, now, lifetime, cert_flags); |