samr7/vanitygen

Undefined struct 'bignum_st'

withoutuniverse opened this issue · 3 comments

I faced this error:

vanitygen.c
pattern.h(54) : error C2079: '_vg_exec_context_s::vxc_bntarg' uses undefined struct 'bignum_st'
...
vanitygen.c(92) : error C2664: 'BN_set_word' : cannot convert parameter 1 from 'int *' to 'BIGNUM *'
...
vanitygen.c(134) : error C2065: 'BN_MASK2' : undeclared identifier

Could you please explain why it happened?

It's caused by Openssl 1.1 incompatiblity. Try it with Openssl 1.0.X.

Use Vanitygen Plus, it supports OpenSSL 1.1