Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:24
erlang
2571-crypto-Bug-fix-for-sign-verify-of-Edwards-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 2571-crypto-Bug-fix-for-sign-verify-of-Edwards-curves.patch of Package erlang
From dd8d7a4da5981504004d10a3250ae05f19d798f5 Mon Sep 17 00:00:00 2001 From: Hans Nilsson <hans@erlang.org> Date: Wed, 23 Mar 2022 15:06:20 +0100 Subject: [PATCH] crypto: Bug fix for sign/verify of Edwards curves --- lib/crypto/c_src/pkey.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/crypto/c_src/pkey.c b/lib/crypto/c_src/pkey.c index 59632d86d3..da39b70932 100644 --- a/lib/crypto/c_src/pkey.c +++ b/lib/crypto/c_src/pkey.c @@ -132,6 +132,9 @@ static int get_pkey_digest_type(ErlNifEnv *env, ERL_NIF_TERM algorithm, if (type == atom_undefined && algorithm == atom_eddsa) return 1; + if (type == atom_none && algorithm == atom_eddsa) + return 1; + if ((digp = get_digest_type(type)) == NULL) assign_goto(*err_return, notsup, EXCP_BADARG_N(env, type_arg_num, "Bad digest type")); -- 2.34.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor