File tree Expand file tree Collapse file tree 4 files changed +7
-5
lines changed
Expand file tree Collapse file tree 4 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -110,9 +110,12 @@ jobs:
110110 matrix :
111111 features :
112112 - # Default
113- - --features=alloc
114113 - --all-features
115114 - --no-default-features
115+ - --no-default-features --features aws-lc-rs
116+ - --no-default-features --features ring
117+ - --no-default-features --features alloc,aws-lc-rs
118+ - --no-default-features --features alloc,ring
116119 - --no-default-features --features alloc,std,aws_lc_rs
117120 - --no-default-features --features alloc,std,ring
118121
Original file line number Diff line number Diff line change 11// SPDX-License-Identifier: ISC
2- #![ cfg( any( feature = "ring" , feature = "aws-lc-rs" ) ) ]
2+ #![ cfg( all ( feature = "alloc" , any( feature = "ring" , feature = "aws-lc-rs" ) ) ) ]
33
44use core:: time:: Duration ;
55
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ fn netflix() {
4949}
5050
5151/// See also https://github.com/rustls/rustls/issues/2448
52+ #[ cfg( feature = "alloc" ) ]
5253#[ test]
5354fn sanofi_rsa_signature_with_absent_algorithm_params ( ) {
5455 let ee: & [ u8 ] = include_bytes ! ( "sanofi/ee.der" ) ;
Original file line number Diff line number Diff line change 1212// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1313// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1414
15- #![ cfg( any( feature = "ring" , feature = "aws-lc-rs" ) ) ]
15+ #![ cfg( all ( feature = "alloc" , any( feature = "ring" , feature = "aws-lc-rs" ) ) ) ]
1616
1717use pki_types:: { CertificateDer , SignatureVerificationAlgorithm } ;
1818#[ cfg( feature = "ring" ) ]
@@ -35,7 +35,6 @@ use webpki::aws_lc_rs::{
3535 RSA_PSS_2048_8192_SHA512_LEGACY_KEY ,
3636} ;
3737
38- #[ cfg( feature = "alloc" ) ]
3938fn check_sig (
4039 ee : & [ u8 ] ,
4140 alg : & dyn SignatureVerificationAlgorithm ,
@@ -47,7 +46,6 @@ fn check_sig(
4746 cert. verify_signature ( alg, message, signature)
4847}
4948
50- #[ cfg( feature = "alloc" ) ]
5149fn check_sig_rpk (
5250 spki : & [ u8 ] ,
5351 alg : & dyn SignatureVerificationAlgorithm ,
You can’t perform that action at this time.
0 commit comments