Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
0748dad9
Commit
0748dad9
authored
Jan 14, 2002
by
Niels Möller
Browse files
(all_signature_algorithms): Deleted support for
rsa-md5. Rev: src/algorithms.c:1.28
parent
9d5fbeaa
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/algorithms.c
View file @
0748dad9
...
...
@@ -29,7 +29,7 @@
#include
"compress.h"
#include
"crypto.h"
#include
"dsa.h"
#include
"
rsa
.h"
#include
"
publickey_crypto
.h"
#include
"xalloc.h"
#include
"lsh_argp.h"
...
...
@@ -66,14 +66,15 @@ all_symmetric_algorithms()
-
1
);
}
/* This is used for spki operations, and should therefore use spki names. */
/* 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
)
{
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_RSA_PKCS1_MD5
,
&
rsa_md5_algorithm
.
super
,
-
1
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment