tinyca2: fix tinyca not starting up and some deprecation warnings
This update fixes the following issues with tinyca2:
- bnc#848907: fix tinyca not starting up
- fixed some deprecation warnings
- Submitted by Ludwig Nussel (lnussel)
Fixed bugs
bnc#848907
tinyca2 does not start