Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Apr 2010 09:57:31 -0400
From:      "Brian A. Seklecki (NOC)" <bseklecki@noc.cfi.pgh.pa.us>
To:        Efren Bravo <efrenba@yahoo.es>
Cc:        freeBSD <freebsd-questions@freebsd.org>
Subject:   Re: Bacula 5.0 compiler error (crypto.c)
Message-ID:  <1272117451.2420.6.camel@lovebox>
In-Reply-To: <237183.85194.qm@web29004.mail.ird.yahoo.com>
References:  <237183.85194.qm@web29004.mail.ird.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

> crypto.c: In function 'ASN1_OCTET_STRING* openssl_cert_keyid(X509*)':
> crypto.c:333: error: invalid conversion from 'const X509V3_EXT_METHOD*' to 'X509V3_EXT_METHOD*'
> crypto.c: In function 'CRYPTO_SESSION* crypto_session_new(crypto_cipher_t, alist*)':


What's your "uname -a" look like?  -current?

5.0.1 was a patch release for version of GNU/Linux that had recent
OpenSSL versions?

For example, 5.0.1 wouldn't compile on RHEL5/Fedora12, but 5.0.1 may be
required for FreeBSD -current with OpenSSL 0.9.8n+ in -current

~BAS

> crypto.c:1102: error: cannot convert 'unsigned char*' to 'EVP_PKEY_CTX*' for argument '1' to 'int EVP_PKEY_encrypt(EVP_PKEY_CTX*, unsigned char*, size_t*, const unsigned char*, size_t)'
> crypto.c: In function 'crypto_error_t crypto_session_decode(const u_int8_t*, u_int32_t, alist*, CRYPTO_SESSION**)':
> crypto.c:1226: error: cannot convert 'unsigned char*' to 'EVP_PKEY_CTX*' for argument '1' to 'int EVP_PKEY_decrypt(EVP_PKEY_CTX*, unsigned char*, size_t*, const unsigned char*, size_t)'
> *** Error code 1





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1272117451.2420.6.camel>