X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=gost_lcl.h;h=6623d6d3a6bb46fae1447678bc9e0270a188d8af;hb=b629c446ff7246e526999bfdd2657e774faf306f;hp=0c51fa1d0938b5bd292f3b1582c615be8cd72606;hpb=491b3dc9ff6aec9b9e9c116e0c531862df80a0e3;p=openssl-gost%2Fengine.git diff --git a/gost_lcl.h b/gost_lcl.h index 0c51fa1..6623d6d 100644 --- a/gost_lcl.h +++ b/gost_lcl.h @@ -21,7 +21,7 @@ # define GOST_PARAM_CRYPT_PARAMS 0 # define GOST_PARAM_PBE_PARAMS 1 # define GOST_PARAM_PK_FORMAT 2 -# define GOST_PARAM_MAX 2 +# define GOST_PARAM_MAX 3 # define GOST_CTRL_CRYPT_PARAMS (ENGINE_CMD_BASE+GOST_PARAM_CRYPT_PARAMS) # define GOST_CTRL_PBE_PARAMS (ENGINE_CMD_BASE+GOST_PARAM_PBE_PARAMS) # define GOST_CTRL_PK_FORMAT (ENGINE_CMD_BASE+GOST_PARAM_PK_FORMAT) @@ -301,5 +301,4 @@ int pack_sign_cp(ECDSA_SIG *s, int order, unsigned char *sig, size_t *siglen); /* Get private key as BIGNUM from both 34.10-2001 keys*/ /* Returns pointer into EVP_PKEY structure */ BIGNUM *gost_get0_priv_key(const EVP_PKEY *pkey); - #endif