Skip to content

Commit

Permalink
hotfix/workaround for KT-71650
Browse files Browse the repository at this point in the history
  • Loading branch information
JesusMcCloud committed Sep 21, 2024
1 parent 578b26b commit ecea323
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion demoapp/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ voyager = "1.0.0"
composeImageLoader = "1.7.1"
napier = "2.7.1"
buildConfig = "4.1.1"
kotlinx-coroutines = "1.8.1"
kotlinx-coroutines = "1.9.0"

[libraries]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ import kotlinx.serialization.descriptors.PrimitiveKind
import kotlinx.serialization.descriptors.PrimitiveSerialDescriptor
import kotlinx.serialization.encoding.Decoder
import kotlinx.serialization.encoding.Encoder
import kotlin.experimental.ExperimentalObjCRefinement
import kotlin.native.HiddenFromObjC

/**
* Base ASN.1 data class. Can either be a primitive (holding a value), or a structure (holding other ASN.1 elements)
Expand Down Expand Up @@ -231,8 +233,10 @@ sealed class Asn1Element(
}


@OptIn(ExperimentalObjCRefinement::class)
@Serializable
@ConsistentCopyVisibility
@HiddenFromObjC
data class Tag private constructor(
val tagValue: ULong, val encodedTagLength: Int,
@Serializable(with = ByteArrayBase64Serializer::class) val encodedTag: ByteArray
Expand Down

0 comments on commit ecea323

Please sign in to comment.