Fix an error in the encode/decode functions for PKCS#1 DSA public keys
Fix a bug in the unit test code for import/export of RFC4716 public keys