Compile error with openssl

I try to use openSSL in the application, but I get the parsing problem in the next line (in the rsa.h header file)

int (*rsa_mod_exp)(BIGNUM *r0,const BIGNUM *I,RSA *rsa,BN_CTX *ctx); 

error: expected syntax error ')'

Using Xcode 5 on OSX 10.9 and openssl-1.0.1e

What could be the problem?

Thank you for your help.

+4
source share
2 answers

For those who see this in the future, this is a surprisingly simple solution: in the line indicated in the question, just change BIGNUM *Ito BIGNUM *I. (That is, change the value of "I" to lowercase "i".)

, ! , , , .

+9

, , , . , , .

Xcode Product → Perform Action → Preprocess "file", , , . , , .

+1

Source: https://habr.com/ru/post/1533059/


All Articles