Commit 9f71e335 authored by Niels Möller's avatar Niels Möller
Browse files

(all_signature_algorithms): Deleted randomness argument.

Rev: src/algorithms.c:1.41
Rev: src/algorithms.h:1.14
parent b359c116
......@@ -73,12 +73,12 @@ all_symmetric_algorithms()
/* This is used for spki operations, and should therefore use spki names.
* Note that md5 signatures are not currently supported. */
struct alist *
all_signature_algorithms(struct randomness *r)
all_signature_algorithms(void)
{
return make_alist(3,
ATOM_DSA, make_dsa_algorithm(r),
ATOM_RSA_PKCS1, &rsa_sha1_algorithm.super,
ATOM_RSA_PKCS1_SHA1, &rsa_sha1_algorithm.super,
ATOM_DSA, &dsa_algorithm,
ATOM_RSA_PKCS1, &rsa_sha1_algorithm,
ATOM_RSA_PKCS1_SHA1, &rsa_sha1_algorithm,
-1);
}
......
......@@ -12,7 +12,6 @@
#include "crypto.h"
#include "list.h"
#include "lsh_argp.h"
#include "randomness.h"
#define GABA_DECLARE
#include "algorithms.h.x"
......@@ -31,7 +30,7 @@
*/
struct alist *all_symmetric_algorithms(void);
struct alist *all_signature_algorithms(struct randomness *r);
struct alist *all_signature_algorithms(void);
struct int_list *
default_crypto_algorithms(struct alist *algorithms);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment