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