A kind soul in #centos on freenode irc with the handle pj was very helpful.
First, he confirmed the build errors in p_lib.c.
Then he created a patch to fix that error, and immediately ran into another error in p_lib.c.
So, it seems as if it's not just a simple fix in openssl.spec.
Some patches will have to be created. Off to learning how to patch...