You are not logged in.

#1 2013-06-08 14:09:49

doru001
Member
Registered: 2013-01-25
Posts: 138

openssl ec_lcl.h missing [SOLVED]

ec_lcl.h is missing from openssl package, even though it is required by already installed headers. (http://fossies.org/dox/openssl-1.0.1e/e … tml#l00240) Why is it missing and what should I do about it?

Edit: It is not required by already installed headers, but I believe that it is required by the example in man ecdsa, where key->group needs to access a member of a EC_KEY structure, which is defined in ec_lcl.h under the name of ec_key_st. (Also, the headers use EC_KEY *).

Last edited by doru001 (2013-07-01 15:56:09)

Offline

#2 2013-06-09 05:54:39

doru001
Member
Registered: 2013-01-25
Posts: 138

Re: openssl ec_lcl.h missing [SOLVED]

Apparently the library has changed: http://fixunix.com/openssl/157537-re-ec … oblem.html

Offline

#3 2013-06-10 11:07:43

doru001
Member
Registered: 2013-01-25
Posts: 138

Re: openssl ec_lcl.h missing [SOLVED]

Apparently, only the include subdirectory of the (openssl-1.0.1e upstream package) has been included into the archlinux openssl package. What should I do to use the rest of the package without messing up my system? I need to use the rest of the package only for compiling my applications, not as part of the system. Is it fine just to untar it in my home directory and add it to the gcc include directory? Apparently not, I also need to compile the libraries. How should I do that? There are two make files there, but from different distributions. There is mingw32-openssl 1.0.1e-1 in AUR, maybe I should use it. Nope, it is 1.4K as compared to the original full 4.3M on the openssl.org page, and it does not contain ec_lcl.h, either. How am I supposed to use the openssl c API?

Last edited by doru001 (2013-06-10 11:20:27)

Offline

#4 2013-06-10 11:31:05

doru001
Member
Registered: 2013-01-25
Posts: 138

Re: openssl ec_lcl.h missing [SOLVED]

It appears that EC_KEY_get0_group() should be used to get access to EC_KEY::group, such that ec_lcl.h is not required for c API programming. (see http://stackoverflow.com/questions/1171 … a-signing)

Last edited by doru001 (2013-06-10 11:31:26)

Offline

Board footer

Powered by FluxBB