| 3363 | } |
| 3364 | |
| 3365 | int JLSRTP::selectActiveCrypto(ActiveCrypto activeCrypto) |
| 3366 | { |
| 3367 | int retVal = -1; |
| 3368 | |
| 3369 | switch (activeCrypto) |
| 3370 | { |
| 3371 | case PRIMARY_CRYPTO: |
| 3372 | { |
| 3373 | _active_crypto = activeCrypto; |
| 3374 | retVal = 0; |
| 3375 | } |
| 3376 | break; |
| 3377 | |
| 3378 | case SECONDARY_CRYPTO: |
| 3379 | { |
| 3380 | _active_crypto = activeCrypto; |
| 3381 | retVal = 0; |
| 3382 | } |
| 3383 | break; |
| 3384 | |
| 3385 | default: |
| 3386 | { |
| 3387 | _active_crypto = INVALID_CRYPTO; |
| 3388 | retVal = -1; |
| 3389 | } |
| 3390 | break; |
| 3391 | } |
| 3392 | |
| 3393 | return retVal; |
| 3394 | } |
| 3395 | |
| 3396 | ActiveCrypto JLSRTP::getActiveCrypto() |
| 3397 | { |
nothing calls this directly
no outgoing calls
no test coverage detected