Use different genericName for CBC/GCM
This commit is contained in:
parent
0b28eacf0d
commit
5b638ea5f6
|
@ -68,7 +68,7 @@ extension SessionProxy {
|
|||
}
|
||||
|
||||
public var genericName: String {
|
||||
return "AES"
|
||||
return rawValue.hasSuffix("-GCM") ? "AES-GCM" : "AES-CBC"
|
||||
}
|
||||
|
||||
/// :nodoc:
|
||||
|
|
Loading…
Reference in New Issue