Advertisement
Rikairchy

compilation failure

Feb 22nd, 2015
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.54 KB | None | 0 0
  1. root@sigma:~# gcc -o ssltest Opal/src/SSL.c -lssl -lcrypto >> error
  2. Opal/src/SSL.c: In function 'main':
  3. Opal/src/SSL.c:54:8: error: 'ctx' undeclared (first use in this function)
  4.  if ( ( ctx = SSL_CTX_new(method)) == NULL)
  5.         ^
  6. Opal/src/SSL.c:54:8: note: each undeclared identifier is reported only once for each function it appears in
  7. In file included from Opal/src/SSL.c:8:0:
  8. Opal/src/SSL.c:59:26: error: 'SSL_OP_NOSSLv2' undeclared (first use in this function)
  9.  SSL_CTX_set_options(ctx, SSL_OP_NOSSLv2);
  10.                           ^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement