File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -46,10 +46,12 @@ impl SrtpProfileId {
46
46
SrtpProfileId ( ffi:: SRTP_AES128_F8_SHA1_32 as c_ulong ) ;
47
47
pub const SRTP_NULL_SHA1_80 : SrtpProfileId = SrtpProfileId ( ffi:: SRTP_NULL_SHA1_80 as c_ulong ) ;
48
48
pub const SRTP_NULL_SHA1_32 : SrtpProfileId = SrtpProfileId ( ffi:: SRTP_NULL_SHA1_32 as c_ulong ) ;
49
- #[ cfg( ossl110) ]
50
- pub const SRTP_AEAD_AES_128_GCM : SrtpProfileId = SrtpProfileId ( ffi:: SRTP_AEAD_AES_128_GCM ) ;
51
- #[ cfg( ossl110) ]
52
- pub const SRTP_AEAD_AES_256_GCM : SrtpProfileId = SrtpProfileId ( ffi:: SRTP_AEAD_AES_256_GCM ) ;
49
+ #[ cfg( any( boringssl, ossl110) ) ]
50
+ pub const SRTP_AEAD_AES_128_GCM : SrtpProfileId =
51
+ SrtpProfileId ( ffi:: SRTP_AEAD_AES_128_GCM as c_ulong ) ;
52
+ #[ cfg( any( boringssl, ossl110) ) ]
53
+ pub const SRTP_AEAD_AES_256_GCM : SrtpProfileId =
54
+ SrtpProfileId ( ffi:: SRTP_AEAD_AES_256_GCM as c_ulong ) ;
53
55
54
56
/// Creates a `SrtpProfileId` from an integer representation.
55
57
pub fn from_raw ( value : c_ulong ) -> SrtpProfileId {
You can’t perform that action at this time.
0 commit comments