Skip to content

[build error] _example/encrypto> go build results in sqlite3-binding.c:18401:12: error: storage size of ‘hctx’ isn’t known #4

Description

_example/encrypto> go build

github.com/xeodou/go-sqlcipher

../../sqlite3-binding.c: In function ‘sqlcipher_openssl_hmac’:
../../sqlite3-binding.c:18401:12: error: storage size of ‘hctx’ isn’t known
HMAC_CTX hctx;
^~~~
../../sqlite3-binding.c:18403:3: warning: implicit declaration of function ‘HMAC_CTX_init’ [-Wimplicit-function-declaration]
HMAC_CTX_init(&hctx);
^~~~~~~~~~~~~
../../sqlite3-binding.c:18408:3: warning: implicit declaration of function ‘HMAC_CTX_cleanup’ [-Wimplicit-function-declaration]
HMAC_CTX_cleanup(&hctx);
^~~~~~~~~~~~~~~~
../../sqlite3-binding.c: In function ‘sqlcipher_openssl_cipher’:
../../sqlite3-binding.c:18418:18: error: storage size of ‘ectx’ isn’t known
EVP_CIPHER_CTX ectx;
^~~~

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions