It depends on the context. Both are possible, although (a) is more likely to be used. Also, some might object to the use of "was" in (a) and might insist on "were".
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.