Fix compiler warning and real problem
openssl.c: In function 'sc_pkcs11_verify_data': openssl.c:384:19: warning: 'pkey_ctx' may be used uninitialized in this function [-Wuninitialized] openssl.c:325:16: note: 'pkey_ctx' was declared here
This commit is contained in:
parent
3f7db42878
commit
9252eec2d3
|
@ -322,7 +322,7 @@ static CK_RV gostr3410_verify_data(const unsigned char *pubkey, int pubkey_len,
|
|||
unsigned char *signat, int signat_len)
|
||||
{
|
||||
EVP_PKEY *pkey;
|
||||
EVP_PKEY_CTX *pkey_ctx;
|
||||
EVP_PKEY_CTX *pkey_ctx = NULL;
|
||||
EC_POINT *P;
|
||||
BIGNUM *X, *Y;
|
||||
ASN1_OCTET_STRING *octet;
|
||||
|
|
Loading…
Reference in New Issue