Patch "X.509: fix BUG_ON() when hash algorithm is unsupported" has been added to the 4.9-stable tree