This patch fixes a regression introduced in
https://fedorahosted.org/pki/ticket/1307 [RFE] Support multiple keySets
for different cards for ExternalReg
where it missed assigning the calculated result to be returned.
It has been tested to work.
There is also one simple typo fix in there that doesn't have anything to
do with the feature in question.
thanks,
Christina