Re: An error occurred while using the d2i_RSAPublicKey function.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> On Jun 9, 2018, at 8:38 PM, Sangsub <i_chacha@xxxxxxxxx> wrote:
> 
> I have written the following test code, and an error has occurred in the
> d2i_RSAPublicKey function.
> A null pointer is returned as the result of the d2i_RSAPublicKey function.

Your input data is not a PKCS#1 RSA public key as understood by
d2i_RSAPublicKey().  Rather, it is an X.509 SPKI public key,
as understood by d2i_RSA_PUBKEY(), or, more generally, d2i_PUBKEY().

-- 
	Viktor.

-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux