Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:24
erlang
2560-crypto-Fix-bug-in-pkey.c-ifndef-HAVE_DSA.p...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 2560-crypto-Fix-bug-in-pkey.c-ifndef-HAVE_DSA.patch of Package erlang
From e230438516566c75dc5148da2d6d0c6c78b88809 Mon Sep 17 00:00:00 2001 From: Sverker Eriksson <sverker@erlang.org> Date: Mon, 12 Jun 2023 19:17:29 +0200 Subject: [PATCH 3/5] crypto: Fix bug in pkey.c #ifndef HAVE_DSA --- lib/crypto/c_src/pkey.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/crypto/c_src/pkey.c b/lib/crypto/c_src/pkey.c index afdff78f48..9a3cd898d3 100644 --- a/lib/crypto/c_src/pkey.c +++ b/lib/crypto/c_src/pkey.c @@ -582,11 +582,6 @@ ERL_NIF_TERM pkey_sign_nif(ErlNifEnv *env, int argc, const ERL_NIF_TERM argv[]) # endif assign_goto(ret, err, EXCP_NOTSUP_N(env, 0, "eddsa not supported")); } else { - -# ifndef HAVE_DSA - if (argv[0] == atom_dss) assign_goto(ret, err, EXCP_NOTSUP_N(env, 0, "dsa not supported")); - } else { -# endif if (EVP_PKEY_sign(ctx, NULL, &siglen, tbs, tbslen) != 1) assign_goto(ret, err, EXCP_ERROR(env, "Can't EVP_PKEY_sign")); -- 2.35.3
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