less specific interface for EC_GROUP_get_basis_type

Submitted by: Nils Larsch, Bodo Moeller
This commit is contained in:
Bodo Möller
2002-08-26 18:08:53 +00:00
parent c96f0fd2d1
commit 34f1f2a81c
6 changed files with 75 additions and 29 deletions

View File

@@ -420,8 +420,7 @@ int ECPKParameters_print(BIO *bp, const EC_GROUP *x, int off)
if (is_char_two)
{
/* print the 'short name' of the base type OID */
int basis_type = EC_GROUP_get_basis_type(x, NULL,
NULL, NULL);
int basis_type = EC_GROUP_get_basis_type(x);
if (basis_type == 0)
goto err;