[Issue 8709] pw-totp: OpenSSL 1.1 compatibility