Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
0450-Add-missing-digest-none-to-crypto-sign-4-a...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0450-Add-missing-digest-none-to-crypto-sign-4-and-verify-.patch of Package erlang
From 80d0956f8ad027f290db1d0c9982271edfca1e3a Mon Sep 17 00:00:00 2001 From: Leo Liu <sdl.web@gmail.com> Date: Fri, 9 Apr 2021 21:01:03 +0800 Subject: [PATCH] Add missing digest none to crypto:sign/4 and verify/6 --- lib/crypto/src/crypto.erl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/crypto/src/crypto.erl b/lib/crypto/src/crypto.erl index a9c18a3779..1fa2d3805c 100644 --- a/lib/crypto/src/crypto.erl +++ b/lib/crypto/src/crypto.erl @@ -1360,7 +1360,8 @@ rand_seed_nif(_Seed) -> ?nif_stub. when Algorithm :: pk_sign_verify_algs(), DigestType :: rsa_digest_type() | dss_digest_type() - | ecdsa_digest_type(), + | ecdsa_digest_type() + | none, Msg :: iodata() | {digest,iodata()}, Key :: rsa_private() | dss_private() @@ -1426,7 +1427,8 @@ verify(Algorithm, Type, Data, Signature, Key) -> when Algorithm :: pk_sign_verify_algs(), DigestType :: rsa_digest_type() | dss_digest_type() - | ecdsa_digest_type(), + | ecdsa_digest_type() + | none, Msg :: iodata() | {digest,iodata()}, Signature :: binary(), Key :: rsa_public() -- 2.26.2
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