Hi,

I am getting wrong tag when storing my public key (pkcs#1) using d2i
(running on redhat):

dsa->dsa = d2i_DSA_PUBKEY(NULL,
     (const unsigned char **)&(fromp->RawPubKey),
strlen(fromp->RawPubKey));

error:
Load public key failed:  asn1 encoding routines: ASN1_CHECK_TLEN: wrong tag

Reply via email to