File tree 4 files changed +9
-7
lines changed
4 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -8,13 +8,14 @@ branches:
8
8
- master
9
9
language : rust
10
10
os : linux
11
- dist : xenial
11
+ dist : focal
12
12
addons :
13
13
apt :
14
+ sources :
15
+ - sourceline : " deb http://apt.llvm.org/focal/ llvm-toolchain-focal-11 main"
16
+ key_url : " https://apt.llvm.org/llvm-snapshot.gpg.key"
14
17
packages :
15
- - llvm-3.8-dev
16
- - libclang-3.8-dev
17
- - clang-3.8
18
+ - clang-11
18
19
- cmake
19
20
rust :
20
21
- stable
29
30
# re-pinned whenever core_io is updated to the latest nightly.
30
31
- CORE_IO_NIGHTLY=nightly-2019-07-01
31
32
- SGX_NIGHTLY=nightly-2019-10-28
32
- - LLVM_CONFIG_PATH=llvm-config-3.8
33
33
script :
34
34
- ./ct.sh
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ impl Mpi {
173
173
mpi_write_string (
174
174
& self . inner ,
175
175
radix,
176
- buf. as_mut_ptr ( ) as * mut i8 ,
176
+ buf. as_mut_ptr ( ) as * mut _ ,
177
177
buf. len ( ) ,
178
178
& mut olen,
179
179
)
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ const CUSTOM_PK_INFO: pk_info_t = {
129
129
sign_func : None ,
130
130
verify_func : None ,
131
131
get_bitlen : None ,
132
- name : b"\0 " as * const u8 as * const i8 ,
132
+ name : b"\0 " as * const u8 as * const _ ,
133
133
ctx_alloc_func : Some ( alloc_custom_pk_ctx) ,
134
134
ctx_free_func : Some ( free_custom_pk_ctx) ,
135
135
}
Original file line number Diff line number Diff line change @@ -356,6 +356,7 @@ impl BERDecodable for EncryptedData {
356
356
357
357
// EncryptedContentInfo from PKCS7 see RFC 2315 section 10.1
358
358
#[ derive( Debug , Clone ) ]
359
+ #[ allow( dead_code) ]
359
360
struct EncryptedContentInfo {
360
361
content_type : ObjectIdentifier ,
361
362
encryption_algo : AlgorithmIdentifier ,
@@ -458,6 +459,7 @@ enum Pkcs12BagSet {
458
459
}
459
460
460
461
#[ derive( Debug , Clone ) ]
462
+ #[ allow( dead_code) ]
461
463
struct SafeBag {
462
464
bag_id : ObjectIdentifier ,
463
465
bag_value : Pkcs12BagSet ,
You can’t perform that action at this time.
0 commit comments