Parent: 4e3ad171df3ea75b4efede0ca0c90ade703e352f
Author: Andrzej Kaczmarek <andrzej.kaczmarek@tieto.com>
Committer: Szymon Janc <szymon.janc@tieto.com>
Date: 2014-02-12 14:50:49
Tree: 2ba7dfb27becf18073d6a4beb37d506ed3845372
android/socket: Fix sockets security Socket security shall be based on flags passed from HAL. Android public API uses both encrypt and auth flags for "secure" sockets which should be mapped to high security on our side, but since this would also trigger requirement for 16-digits pin code (which is not used in Android) we'll ignore auth flag and use either low or medium security based on encrypt flag value only.
Diffstat
| M | android/hal-msg.h | | | 3 | +++ |
| M | android/socket.c | | | 29 | +++++++++++++++++++- - - - - - - - - - |
2 files changed, 22 insertions(+), 10 deletions(-)