[sr-dev] git:master: tls: two small code cleanups