keygen/src/ssl.c
/**
 * destroy_key() - Deallocate a key
 *
 * Return: None
 */
Deallocate a key
Return: None
Deallocate a key Return : None
void destroy_key(struct key *key_in)
{
    EVP_PKEY_free(key_in->pkey);
    OPENSSL_free(key_in->hex_str);
    key_in->pkey = NULL;
    key_in->hex_str = NULL;
}
void destroy_key ( struct key * key_in ) { EVP_PKEY_free ( key_in -> pkey ) ; OPENSSL_free ( key_in -> hex_str ) ; key_in -> pkey = NULL ; key_in -> hex_str = NULL ; }
destroy_key() - Deallocate a key
 Return: None
destroy_key () - Deallocate a key Return : None