Add buttermilk, corn syrup, butter, cocoa and salt in a large saucepan. Heat over medium heat, whisking frequently until smooth. Bring mixture to a boil and boil for 2 minutes, until the bubbles snap and pop. Reduce heat to low and whisk in powdered sugar and vanilla until smooth.