Bacula 5.0 compiler error (crypto.c)

Efren Bravo efrenba at yahoo.es
Mon Apr 26 13:05:41 UTC 2010



> De: Brian A. Seklecki (NOC) <bseklecki at noc.cfi.pgh.pa.us>
> Asunto: Re: Bacula 5.0 compiler error (crypto.c)
> Para: "Efren Bravo" <efrenba at yahoo.es>
> CC: "freeBSD" <freebsd-questions at freebsd.org>
> Fecha: sábado, 24 de abril, 2010 09:57
> 
> > 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?

FreeBSD dhlgw.dhl.cu 7.2-RELEASE-p4
 
> 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

I've OpenSSL 1.0.0 installed and ports up2date.

My server is on production, so, What do you think I should do in my case?


Thank u very mucho for answer.

> ~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
> 
> 
> _______________________________________________
> freebsd-questions at freebsd.org
> mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> 


      


More information about the freebsd-questions mailing list