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:
Ludovic Rousseau 2012-01-09 10:40:42 +01:00
parent 3f7db42878
commit 9252eec2d3
1 changed files with 1 additions and 1 deletions

View File

@ -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;