On Fri, Oct 27, 2006, Camila Moraes wrote:
> Hi!
>
> I generated a DSA key pair and wrote the private key into a file, like
> following:
>
> DSA *pair = DSA_generate_parameters(1024, NULL, 0, NULL, NULL, NULL, NULL);
> DSA_generate_key(pair)
> EVP_PKEY *pkey = EVP_PKEY_new();
> EVP_PKEY_assign_D
Hi!I generated a DSA key pair and wrote the private key into a file, like following: DSA *pair = DSA_generate_parameters(1024, NULL, 0, NULL, NULL, NULL, NULL); DSA_generate_key(pair) EVP_PKEY *pkey = EVP_PKEY_new();
EVP_PKEY_assign_DSA(pkey, pair); FILE *fp = fopen("dsaprivatekey.pem", "w"); cons