[openssl-dev] OPenssl 1.1.0 and FIPS

The Doctor doctor at doctor.nl2k.ab.ca
Sat Sep 16 12:11:18 UTC 2017



I thought it was just me.

Tryong to compile  Fips into OPEnssl-1.1.0  and I run into

cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
crypto/err/err_all.c:47:69: error: invalid operands to binary expression
      ('void' and 'int')
      FIPS_set_error_callbacks(ERR_put_error, ERR_add_error_vdata)==0 ||
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ ~
crypto/err/err_all.c:95:33: error: invalid operands to binary expression
			    ('void' and 'int')
			    ERR_load_FIPS_strings() == 0 ||
			    ~~~~~~~~~~~~~~~~~~~~~~~ ^  ~

The cc I am using is clang 4.0.0 .

A similar error happens in Gcc 6 .

PLease fix so that  compilers cannot see this.

What is happening is that the 2 statements are void but you are 
assigning an int value.

-- 
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist rising!
https://www.empire.kred/ROOTNK?t=94a1f39b  Look at Psalms 14 and 53 on Atheism
Talk Sense to a fool and he calls you foolish - Euripides


More information about the openssl-dev mailing list